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
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.)
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
35 .BR dh_installmenu (1)
36 , and are shell script fragments.
42 for a list of options common to all debhelper commands.
46 for a list of environment variables that affect all debhelper commands.
50 Debian policy, version 3.0.1
52 Joey Hess <joeyh@master.debian.org>