]> git.donarmstrong.com Git - debhelper.git/blob - dh_installdebfiles.1
r291: * dh_installdocs: if $TMP/usr/share/doc/$PACKAGE is a broken symlink,
[debhelper.git] / dh_installdebfiles.1
1 .TH DH_INSTALLDOCS 1
2 .SH NAME
3 dh_installdebfiles \- install files into the DEBIAN directory
4 .SH SYNOPSIS
5 .B dh_installdebfils
6 .I "[-v] [-a] [-i] [-ppackage]"
7 .SH "DESCRIPTION"
8 dh_installdebfiles is a debhelper program that is responsible for installing
9 files into the DEBIAN directory in package build directories with the
10 correct prmissions.
11 .P
12 dh_installdocs automatically installs the following files from debian/ into
13 the DEBIAN directory:
14 .IP postinst
15 .IP preinst
16 .IP postrm
17 .IP prerm
18 .IP shlibs
19 .IP conffiles
20 .P
21 (For packages other than the first binary package listed in debian/control,
22 prefix these filenames with then name of the "package.", for example, 
23 "foo.postinst".)
24 .P
25 In addition, it will generate a DEBIAN/control file, by running
26 .BR dpkg-shlibdeps (1)
27 and
28 .BR dpkg-gencontrol (1)
29 .SH OPTIONS
30 .TP
31 .B \-v
32 Verbose mode; show all commands that modify the package build directory.
33 .TP
34 .B \-a
35 Install files for all architecture dependent packages.
36 .TP
37 .B \-i
38 Install files for all architecture independent packages.
39 .TP
40 .B \-ppackage
41 Install files for the package named "package".
42 .SH NOTES
43 The
44 .B \-a
45 .B \-i
46 and
47 .B \-p
48 arguments are cumulative. If none are specified, then all packages listed in
49 the control file will be effected.
50 .SH ENVIRONMENT
51 .TP
52 .I DH_VERBOSE
53 Enables verbose mode
54 .SH "SEE ALSO"
55 .BR /usr/doc/debhelper/README
56 .SH "CONFORMS TO"
57 Debian policy, version 2.3.0.0
58 .SH AUTHOR
59 Joey Hess <joeyh@master.debian.org>