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