]> git.donarmstrong.com Git - debhelper.git/blob - dh_installdeb.1
r374: * Rebuild to remove cvs junk, Closes: #72610
[debhelper.git] / dh_installdeb.1
1 .TH DH_INSTALLDEB 1 "" "Debhelper Commands" "Debhelper Commands"
2 .SH NAME
3 dh_installdeb \- install files into the DEBIAN directory
4 .SH SYNOPSIS
5 .B dh_installdeb
6 .I "[debhelper options]"
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         package.postinst
15         package.preinst
16         package.postrm
17         package.prerm
18         package.shlibs
19         package.conffiles
20 .P
21 The postinst, preinst, postrm, and prerm are handled specially: If a
22 corresponding file named debian/script.debhelper exists, the contents of that
23 file are merged into the script as follows: If the script exists, then
24 anywhere in it that "#DEBHELPER#" appears, the text of the .debhelper file is
25 inserted. If the script does not exist, then a script is generated from
26 the .debhelper file. The .debhelper files are created by other debhelper
27 programs, such as
28 .BR dh_installmenu (1)
29 , and are shell script fragments.
30 .SH OPTIONS
31 .TP
32 .B debhelper options
33 See
34 .BR debhelper (1)
35 for a list of options common to all debhelper commands.
36 .SH ENVIRONMENT
37 See
38 .BR debhelper (1)
39 for a list of environment variables that affect all debhelper commands.
40 .SH "SEE ALSO"
41 .BR debhelper (1)
42 .SH "CONFORMS TO"
43 Debian policy, version 3.0.1
44 .SH AUTHOR
45 Joey Hess <joeyh@debian.org>