.\" 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 "2018-07-22" "11.3.5~bpo9+1" "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 "名前" .IX Header "名前" dh_installdeb \- \s-1DEBIAN\s0 ディレクトリにファイルをインストールする .SH "書式" .IX Header "書式" \&\fBdh_installdeb\fR [\fIdebhelper options\fR] .SH "説明" .IX Header "説明" \&\fBdh_installdeb\fR は、パッケージビルドディレクトリにある \fI\s-1DEBIAN\s0\fR ディレクトリ以下に、適切な権限を持った状態でファイルをインストールする役目の debhelper プログラムです。 .SH "ファイル" .IX Header "ファイル" .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 これらのメンテナスクリプトは \fI\s-1DEBIAN\s0\fR ディレクトリ以下にインストールされます。 .Sp スクリプト中の \fB#DEBHELPER#\fR の文言は、他の debhelper コマンドが生成するシェルスクリプトのスニペットで置き換えられます。 .IP "\fIpackage\fR.triggers" 4 .IX Item "package.triggers" .PD 0 .IP "\fIpackage\fR.shlibs" 4 .IX Item "package.shlibs" .PD これらのファイル群は \fI\s-1DEBIAN\s0\fR ディレクトリ以下にインストールされます。 .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" この control ファイルは \fI\s-1DEBIAN\s0\fR ディレクトリ以下にインストールされます。 .Sp 互換性レベルが v3 以上の場合、パッケージ内の \fIetc/\fR 以下の全ファイルは、このプログラムにより conffile として自動的にフラグがつけらます。その為、いちいち自分で列挙する必要はありません。 .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 例: .Sp .Vb 4 \& # 正解 \& rm_conffile /etc/obsolete.conf 0.2~ foo \& # 不正解 \& 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. .Sp The \fBdh_installdeb\fR tool will do some basic validation of some of the commands listed in this file to catch common mistakes. The validation is enabled as a warning since compat 10 and as a hard error in compat 12. .SH "参照" .IX Header "参照" \&\fIdebhelper\fR\|(7) .PP このプログラムは debhelper の一部です。 .SH "作者" .IX Header "作者" Joey Hess