summaryrefslogtreecommitdiff
path: root/dh_installinfo.1
blob: 324907d1966e2f9d1e138970dac2f472417ade07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
.TH DH_INSTALLINFO 1 "" "Debhelper Commands" "Debhelper Commands"
.SH NAME
dh_installinfo \- install and register info files
.SH SYNOPSIS
.B dh_installinfo
.I "[debhelper options] [-A] [-n] [file ...]"
.SH "DESCRIPTION"
dh_installinfo is a debhelper program that is responsible for installing
info files and registering them with install-info.
.P
Any filenames specified as parameters will be installed into the first
package dh_installinfo is told to act on. By default, this is the first 
binary package in debian/control, but if you use -p, -i, or -a flags, it 
will be the first package specified by those flags.
.P
A file named debian/package.info (debian/info may be used for the first
binary package in debian/control) can list other files to be installed.
.P
dh_installinfo will automatically generate the postinst and prerm commands
needed to interface with install-info. See
.BR dh_installdeb (1)
for an explanation of how this works.
.SH OPTIONS
.TP
.B debhelper options
See
.BR debhelper (1)
for a list of options common to all debhelper commands.
.TP
.B \-A, \--all
Install all files specified by command line parameters in ALL packages
acted on.
.TP
.B \-n, \--noscripts
Do not modify postinst/prerm scripts.
.TP
.B file ...
Install these info files into the first package acted on. (Or in
all packages if -A is specified).
.SH ENVIRONMENT
See
.BR debhelper (1)
for a list of environment variables that affect all debhelper commands.
.SH "SEE ALSO"
.BR debhelper (1)
.TP
.BR install-info (8)
.SH NOTES
Note that this command is not idempotent. "dh_clean -k" should be called
between invocations of this command. Otherwise, it may cause multiple
instances of the same text to be added to maintainer scripts.
.SH BUGS
It's impossible to specify filenames with spaces or other whitespace in them
in debian/info file. This is more a historical design flaw than a bug.
.SH "CONFORMS TO"
Debian policy, version 3.0.1
.SH AUTHOR
Joey Hess <joeyh@debian.org>