.\" Automatically generated by Pod::Man 4.07 (Pod::Simple 3.32) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .if !\nF .nr F 0 .if \nF>0 \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} .\} .\" ======================================================================== .\" .IX Title "DH_INSTALLDEB 1" .TH DH_INSTALLDEB 1 "2017-01-25" "10.2.5" "Debhelper" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" dh_installdeb \- install files into the DEBIAN directory .SH "SYNOPSIS" .IX Header "SYNOPSIS" \&\fBdh_installdeb\fR [\fIdebhelperĀ options\fR] .SH "DESCRIPTION" .IX Header "DESCRIPTION" \&\fBdh_installdeb\fR is a debhelper program that is responsible for installing files into the \fI\s-1DEBIAN\s0\fR directories in package build directories with the correct permissions. .SH "FILES" .IX Header "FILES" .IP "\fIpackage\fR.postinst" 4 .IX Item "package.postinst" .PD 0 .IP "\fIpackage\fR.preinst" 4 .IX Item "package.preinst" .IP "\fIpackage\fR.postrm" 4 .IX Item "package.postrm" .IP "\fIpackage\fR.prerm" 4 .IX Item "package.prerm" .PD These maintainer scripts are installed into the \fI\s-1DEBIAN\s0\fR directory. .Sp Inside the scripts, the token \fB#DEBHELPER#\fR is replaced with shell script snippets generated by other debhelper commands. .IP "\fIpackage\fR.triggers" 4 .IX Item "package.triggers" .PD 0 .IP "\fIpackage\fR.shlibs" 4 .IX Item "package.shlibs" .PD These control files are installed into the \fI\s-1DEBIAN\s0\fR directory. .Sp Note that \fIpackage\fR.shlibs is only installed in compat level 9 and earlier. In compat 10, please use \fIdh_makeshlibs\fR\|(1). .IP "\fIpackage\fR.conffiles" 4 .IX Item "package.conffiles" This control file will be installed into the \fI\s-1DEBIAN\s0\fR directory. .Sp In v3 compatibility mode and higher, all files in the \fIetc/\fR directory in a package will automatically be flagged as conffiles by this program, so there is no need to list them manually here. .IP "\fIpackage\fR.maintscript" 4 .IX Item "package.maintscript" Lines in this file correspond to \fIdpkg\-maintscript\-helper\fR\|(1) commands and parameters. However, the \*(L"maint-script-parameters\*(R" should \fInot\fR be included as debhelper will add those automatically. .Sp Example: .Sp .Vb 4 \& # Correct \& rm_conffile /etc/obsolete.conf 0.2~ foo \& # INCORRECT \& rm_conffile /etc/obsolete.conf 0.2~ foo \-\- "$@" .Ve .Sp In compat 10 or later, any shell metacharacters will be escaped, so arbitrary shell code cannot be inserted here. For example, a line such as \f(CW\*(C`mv_conffile /etc/oldconffile /etc/newconffile\*(C'\fR will insert maintainer script snippets into all maintainer scripts sufficient to move that conffile. .Sp It was also the intention to escape shell metacharacters in previous compat levels. However, it did not work properly and as such it was possible to embed arbitrary shell code in earlier compat levels. .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fIdebhelper\fR\|(7) .PP This program is a part of debhelper. .SH "AUTHOR" .IX Header "AUTHOR" Joey Hess