1DH_INSTALLDEB(1)                   Debhelper                  DH_INSTALLDEB(1)
2
3
4

NAME

6       dh_installdeb - install files into the DEBIAN directory
7

SYNOPSIS

9       dh_installdeb [debhelperĀ options]
10

DESCRIPTION

12       dh_installdeb is a debhelper program that is responsible for installing
13       files into the DEBIAN directories in package build directories with the
14       correct permissions.
15

FILES

17       package.postinst
18       package.preinst
19       package.postrm
20       package.prerm
21           These maintainer scripts are installed into the DEBIAN directory.
22
23           Inside the scripts, the token #DEBHELPER# is replaced with shell
24           script snippets generated by other debhelper commands.
25
26       package.triggers
27       package.shlibs
28           These control files are installed into the DEBIAN directory.
29
30           Note that package.shlibs is only installed in compat level 9 and
31           earlier.  In compat 10, please use dh_makeshlibs(1).
32
33       package.conffiles
34           Historically, this file was needed to manually mark files files as
35           conffiles.  However, it has become de facto obsolete since
36           debhelper automatically computed which files should be marked as
37           conffiles.
38
39           In compatibility level up and including 11, this control file will
40           be installed into the DEBIAN directory.  In compatibility level 12
41           and later, the file is silently ignored.
42
43       package.maintscript
44           Lines in this file correspond to dpkg-maintscript-helper(1)
45           commands and parameters.  However, the "maint-script-parameters"
46           should not be included as debhelper will add those automatically.
47
48           Example:
49
50               # Correct
51               rm_conffile /etc/obsolete.conf 0.2~ foo
52               # INCORRECT
53               rm_conffile /etc/obsolete.conf 0.2~ foo -- "$@"
54
55           In compat 10 or later, any shell metacharacters will be escaped, so
56           arbitrary shell code cannot be inserted here.  For example, a line
57           such as "mv_conffile /etc/oldconffile /etc/newconffile" will insert
58           maintainer script snippets into all maintainer scripts sufficient
59           to move that conffile.
60
61           It was also the intention to escape shell metacharacters in
62           previous compat levels.  However, it did not work properly and as
63           such it was possible to embed arbitrary shell code in earlier
64           compat levels.
65
66           The dh_installdeb tool will do some basic validation of some of the
67           commands listed in this file to catch common mistakes.  The
68           validation is enabled as a warning since compat 10 and as a hard
69           error in compat 12.
70

SEE ALSO

72       debhelper(7)
73
74       This program is a part of debhelper.
75

AUTHOR

77       Joey Hess <joeyh@debian.org>
78
79
80
8111.4                              2018-09-02                  DH_INSTALLDEB(1)
Impressum