]> git.donarmstrong.com Git - debhelper.git/blob - dh_installdeb.1
r245: Initial Import
[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         postinst
15         preinst
16         postrm
17         prerm
18         shlibs
19         conffiles
20 .P
21 (For packages other than the first binary package listed in debian/control,
22 you must prefix these filenames with then name of the "package.", for example,
23 "foo.postinst". You can also prefix the filenames the same way for the first
24 binary package, for consitency.)
25 .P
26 The files postinst, preinst, postrm, and prerm are handled specially: If a
27 corresponding file named debian/script.debhelper exists, the contents of that 
28 file are merged into the script as follows: If the script exists, then 
29 anywhere in it that "#DEBHELPER#" appears, the text of the .debhelper file is
30 inserted. If the script does not exist, then a script is generated from 
31 the .debhelper file. The .debhelper files are created by other debhelper 
32 programs, such as 
33 .BR dh_installmenu (1)
34 , and are shell script fragments.
35 .SH OPTIONS
36 .TP
37 .B debhelper options
38 See
39 .BR debhelper (1)
40 for a list of options common to all debhelper commands.
41 .SH ENVIRONMENT
42 See
43 .BR debhelper (1)
44 for a list of environment variables that affect all debhelper commands.
45 .SH "SEE ALSO"
46 .BR debhelper (1)
47 .SH "CONFORMS TO"
48 Debian policy, version 2.5.0.0
49 .SH AUTHOR
50 Joey Hess <joeyh@master.debian.org>