]> git.donarmstrong.com Git - debhelper.git/blob - dh_installinfo.1
r309: removed 'master'
[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 A file named debian/package.info (debian/info may be used for the first
17 binary package in debian/control) can list other files to be installed.
18 .P
19 dh_installinfo will automatically generate the postinst and prerm commands
20 needed to interface with install-info. See
21 .BR dh_installdeb (1)
22 for an explanation of how this works.
23 .SH OPTIONS
24 .TP
25 .B debhelper options
26 See
27 .BR debhelper (1)
28 for a list of options common to all debhelper commands.
29 .TP
30 .B \-A, \--all
31 Install all files specified by command line parameters in ALL packages
32 acted on.
33 .TP
34 .B \-n, \--noscripts
35 Do not modify postinst/prerm scripts.
36 .TP
37 .B file ...
38 Install these info files into the first package acted on. (Or in
39 all packages if -A is specified).
40 .SH ENVIRONMENT
41 See
42 .BR debhelper (1)
43 for a list of environment variables that affect all debhelper commands.
44 .SH "SEE ALSO"
45 .BR debhelper (1)
46 .TP
47 .BR install-info (8)
48 .SH NOTES
49 Note that this command is not idempotent. "dh_clean -k" should be called
50 between invocations of this command. Otherwise, it may cause multiple
51 instances of the same text to be added to maintainer scripts.
52 .SH BUGS
53 It's impossible to specify filenames with spaces or other whitespace in them
54 in debian/info file. This is more a historical design flaw than a bug.
55 .SH "CONFORMS TO"
56 Debian policy, version 3.0.1
57 .SH AUTHOR
58 Joey Hess <joeyh@debian.org>