1 .TH DH_INSTALLDEB 1 "" "Debhelper Commands" "Debhelper Commands"
3 dh_installdeb \- install files into the DEBIAN directory
6 .I "[debhelper options]"
8 dh_installdeb is a debhelper program that is responsible for installing
9 files into the DEBIAN directory in package build directories with the
12 dh_installdeb automatically installs the following files from debian/ into
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.)
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
33 .BR dh_installmenu (1)
34 , and are shell script fragments.
40 for a list of options common to all debhelper commands.
44 for a list of environment variables that affect all debhelper commands.
48 Debian policy, version 3.0.1
50 Joey Hess <joeyh@master.debian.org>