.\" Automatically generated by Pod::Man 4.10 (Pod::Simple 3.35) .\" .\" 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 .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "DH_COMPRESS 1" .TH DH_COMPRESS 1 "2021-03-06" "13.3.3~bpo10+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_compress \- ビルドディレクトリでファイル圧縮とシンボリックリンクの修正を行う .SH "書式" .IX Header "書式" \&\fBdh_compress\fR [\fIdebhelper オプション\fR] [\fB\-X\fR\fI項目\fR] [\fB\-A\fR] [\fIファイル\fR ...] .SH "説明" .IX Header "説明" \&\fBdh_compress\fR はパッケージビルドディレクトリにあるファイルを圧縮する役割を担う debhelper プログラムです。また、圧縮されるファイルをシンボリックリンクが指し示していた場合、圧縮後も正しく指すようにシンボリックリンクを更新します。 .PP デフォルトでは、\fBdh_compress\fR は Debian ポリシーマニュアルの規則に従い圧縮すべきとされるファイルを圧縮します。この場合の圧縮対象のファイルの例としては、\fIusr/share/info\fR、\fIusr/share/man\fR の以下の全ファイル、\fIusr/share/doc\fR 以下にある 4k を 越えるサイズの全ファイル (但し、\fIcopyright\fR、\fI.html\fR ファイル、画像ファイル、また拡張子からすでに圧縮されていることがすでに明らかなファイルは対象から除外されます) 、全 \fIchangelog\fR ファイルとなります。加えて \fIusr/share/fonts/X11/\fR 以下の \s-1PCF\s0 フォントファイルも圧縮対象となります。 .SH "ファイル" .IX Header "ファイル" .IP "debian/\fIpackage\fR.compress" 4 .IX Item "debian/package.compress" これらのファイルは廃止されました。 .Sp If this file exists, the default files are not compressed. Instead, the file is ran as a shell script, and all filenames that the shell script outputs will be compressed. The shell script will be run from inside the package build directory. Note though that using \fB\-X\fR is a much better idea in general; you should only use a \fIdebian/package.compress\fR file if you really need to. .SH "オプション" .IX Header "オプション" .IP "\fB\-X\fR\fIitem\fR, \fB\-\-exclude=\fR\fIitem\fR" 4 .IX Item "-Xitem, --exclude=item" ファイル名に \fIitem\fR が含まれると、このファイルは圧縮対象から除外されます。たとえば、\fB\-X.tiff\fR を指定すると、TIFF ファイルは圧縮されなくなります。また除外するものを複数指定するには、このオプションを複数並べることにより指定できます。 .IP "\fB\-A\fR, \fB\-\-all\fR" 4 .IX Item "-A, --all" 処理対象となる全パッケージを対象に、コマンドラインパラメータで指定したファイル全てを圧縮します。 .IP "\fIfile\fR ..." 4 .IX Item "file ..." これらファイルを圧縮対象のファイルとして追加します。 .SH "確認すべき事" .IX Header "確認すべき事" Debian ポリシー バージョン 3.0 .SH "参照" .IX Header "参照" \&\fBdebhelper\fR\|(7) .PP このプログラムは debhelper の一部です。 .SH "作者" .IX Header "作者" Joey Hess