version 1, including all changes.
.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
DH_INSTALLMAN |
|
|
2 |
!!!DH_INSTALLMAN |
|
|
3 |
NAME |
|
|
4 |
SYNOPSIS |
|
|
5 |
DESCRIPTION |
|
|
6 |
OPTIONS |
|
|
7 |
NOTES |
|
|
8 |
SEE ALSO |
|
|
9 |
AUTHOR |
|
|
10 |
---- |
|
|
11 |
!!NAME |
|
|
12 |
|
|
|
13 |
|
|
|
14 |
dh_installman - install man pages into package build directories |
|
|
15 |
!!SYNOPSIS |
|
|
16 |
|
|
|
17 |
|
|
|
18 |
__dh_installman__ [[''debhelper options''] [[''manpage |
|
|
19 |
...''] |
|
|
20 |
!!DESCRIPTION |
|
|
21 |
|
|
|
22 |
|
|
|
23 |
dh_installman is a debhelper program that handles installing |
|
|
24 |
man pages into the correct locations in package build |
|
|
25 |
directories. You tell it what man pages go in your packages, |
|
|
26 |
and it figures out where to install them based on the |
|
|
27 |
section field in their .TH line and their filename |
|
|
28 |
extension. It also supports translated man pages, by looking |
|
|
29 |
for extensions like .ll.8 and .ll_LL.8 |
|
|
30 |
|
|
|
31 |
|
|
|
32 |
If dh_installman seems to install a man page into the wrong |
|
|
33 |
section or with the wrong extension, this is because the man |
|
|
34 |
page has the wrong section listed in its .TH line. Edit the |
|
|
35 |
man page and correct the section, and dh_installman will |
|
|
36 |
follow suit. See to man(7) for details about the .TH |
|
|
37 |
section. If dh_installman seems to install a man page into a |
|
|
38 |
directory like /usr/share/man/pl/man1/, that is because your |
|
|
39 |
program has a name like ``foo.pl'', and dh_installman |
|
|
40 |
assumes that means it is translated into Polish. There is |
|
|
41 |
currently no support for resolving this ambiguity; programs |
|
|
42 |
in debian should proably not have extensions like that |
|
|
43 |
anyway. |
|
|
44 |
|
|
|
45 |
|
|
|
46 |
Any man page filenames specified as parameters will be |
|
|
47 |
installed into the first package dh_installman is told to |
|
|
48 |
act on. By default, this is the first binary package in |
|
|
49 |
debian/control, but if you use -p, -i, or -a flags, it will |
|
|
50 |
be the first package specified by those flags. |
|
|
51 |
|
|
|
52 |
|
|
|
53 |
Files named debian/package.manpages can list other man pages |
|
|
54 |
to be installed. |
|
|
55 |
|
|
|
56 |
|
|
|
57 |
After the man page installation step, dh_installman will |
|
|
58 |
check to see if any of the man pages in the temporary |
|
|
59 |
directories of any of the packages it is acting on contain |
|
|
60 |
``.so'' links. If so, it changes them to |
|
|
61 |
symlinks. |
|
|
62 |
!!OPTIONS |
|
|
63 |
|
|
|
64 |
|
|
|
65 |
__-A__, __--all__ |
|
|
66 |
|
|
|
67 |
|
|
|
68 |
Install all files specified by command line parameters in |
|
|
69 |
ALL packages acted on. |
|
|
70 |
|
|
|
71 |
|
|
|
72 |
''manpage ...'' |
|
|
73 |
|
|
|
74 |
|
|
|
75 |
Install these man pages into the first package acted on. (Or |
|
|
76 |
in all packages if -A is specified). |
|
|
77 |
!!NOTES |
|
|
78 |
|
|
|
79 |
|
|
|
80 |
An older version of this program, |
|
|
81 |
''dh_installmanpages''(1), is still used by some |
|
|
82 |
packages, and so is still included in debhelper. It is, |
|
|
83 |
however, deprecated, due to its counterintuitive and |
|
|
84 |
inconsistent interface. Use this program |
|
|
85 |
instead. |
|
|
86 |
!!SEE ALSO |
|
|
87 |
|
|
|
88 |
|
|
|
89 |
debhelper(1) |
|
|
90 |
|
|
|
91 |
|
|
|
92 |
This program is a part of debhelper. |
|
|
93 |
!!AUTHOR |
|
|
94 |
|
|
|
95 |
|
|
|
96 |
Joey Hess |
|
|
97 |
---- |