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