]> git.donarmstrong.com Git - debhelper.git/blob - dh_installdeb.1
r46: Initial revision
[debhelper.git] / dh_installdeb.1
1 .TH DH_INSTALLDEBFILES 1
2 .SH NAME
3 dh_installdeb \- install files into the DEBIAN directory
4 .SH SYNOPSIS
5 .B dh_installdeb
6 .I "[-v] [-a] [-i] [-ppackage] [-Ptmpdir]"
7 .SH "DESCRIPTION"
8 dh_installdeb is a debhelper program that is responsible for installing
9 files into the DEBIAN directory in package build directories with the
10 correct permissions.
11 .P
12 dh_installdeb 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 The files postinst, preinst, postrm, and prerm are handled specially: If a
26 corresponding file named debian/script.debhelper exists, the contents of that 
27 file are merged into the script as follows: If the script exists, then 
28 anywhere in it that "#DEBHELPER#" appears, the text of the .debhelper file is
29 inserted. If the script does not exist, then a script is generated from 
30 the .debhelper file. The .debhelper files are created by other debhelper 
31 programs, such as 
32 .BR dh_installmenu (1)
33 , and are shell scripts.
34 .SH OPTIONS
35 .TP
36 .B \-v
37 Verbose mode; show all commands that modify the package build directory.
38 .TP
39 .B \-a
40 Install files for all architecture dependent packages.
41 .TP
42 .B \-i
43 Install files for all architecture independent packages.
44 .TP
45 .B \-ppackage
46 Install files for the package named "package".
47 .TP
48 .B \-Ptmpdir
49 Use "tmpdir" for package build directory. 
50 .SH NOTES
51 The
52 .B \-a
53 .B \-i
54 and
55 .B \-p
56 arguments are cumulative. If none are specified, then all packages listed in
57 the control file will be effected.
58 .SH ENVIRONMENT
59 .TP
60 .I DH_VERBOSE
61 Enables verbose mode
62 .SH "SEE ALSO"
63 .BR /usr/doc/debhelper/README
64 .SH "CONFORMS TO"
65 Debian policy, version 2.3.0.0
66 .SH AUTHOR
67 Joey Hess <joeyh@master.debian.org>