]> git.donarmstrong.com Git - debhelper.git/blob - dh_undocumented.1
r275: No idea.
[debhelper.git] / dh_undocumented.1
1 .TH DH_UNDOCUMENTED 1 "" "Debhelper Commands" "Debhelper Commands"
2 .SH NAME
3 dh_undocumented \- make symlinks to undocumented.7.gz man page
4 .SH SYNOPSIS
5 .B dh_undocumented
6 .I "[debhelper options [-A] [manpage ...]"
7 .SH "DESCRIPTION"
8 dh_undocumented is a debhelper program that is responsible for making
9 symlinks to the
10 .BR undocumented (7)
11 man page for man pages that are not present in your package.
12 .P
13 The program takes a list of man pages that should be symlinked to
14 .BR undocumented (7)
15 It determines what directory the man pages should be placed in by examining
16 their extensions - pages ending in "x" go into /usr/X11R6/man/, while pages
17 that end in anything else go in /usr/share/man/. It also examines the extention
18 to see what section the man page belongs in. After figuring this out, it
19 generates the necessary symlinks to
20 .BR undocumented (7)
21 , placing the sylinks in the package build directory.
22 .P
23 The lists of man pages that need 
24 .BR undocumented (7)
25 symlinks can be specified in two ways. Any man page names specified as
26 parameters will be set up in the first package dh_undocumented is told
27 to act on. By default, this is the first binary package in debian/control, 
28 but if you use -p, -i, or -a flags, it will be the first package specified 
29 by those flags.
30 Also, a file named debian/package.undocumented (or debian/undocumented, for 
31 the first binary package in debian/control) can list other man page names to
32 set up.
33 .SH OPTIONS
34 .TP
35 .TP
36 .B debhelper options
37 See
38 .BR debhelper (1)
39 for a list of options common to all debhelper commands.
40 .TP
41 .B \-A, \--all
42 Install undocumented man page symlinks for any man pages specified by 
43 command line parameters in ALL packages acted on. I doubt anyone will find
44 this useful, it's here for consitency with other debhelper programs.
45 .TP
46 .B manpage ...
47 Install undocumented man page symlinks for each of these man pages
48 into the first package acted on. (Or in all packages acted on if -A is
49 specified.)
50 .SH ENVIRONMENT
51 See
52 .BR debhelper (1)
53 for a list of environment variables that affect all debhelper commands.
54 .SH "SEE ALSO"
55 .TP
56 .BR debhelper (1)
57 .TP
58 .BR undocumented (7)
59 .SH "CONFORMS TO"
60 Debian policy, version 3.0.1
61 .SH AUTHOR
62 Joey Hess <joeyh@master.debian.org>