.\" 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_LINK 1" .TH DH_LINK 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 "名前" .IX Header "名前" dh_link \- パッケージビルドディレクトリ内でシンボリックリンクを作成する .SH "書式" .IX Header "書式" \&\fBdh_link\fR [\fIdebhelper options\fR] [\fB\-A\fR] [\fB\-X\fR\fIitem\fR] [\fIsource destination\fR ...] .SH "説明" .IX Header "説明" \&\fBdh_link\fR はパッケージビルドディレクトリ内でシンボリックリンクを作成する debhelper プログラムです。 .PP \&\fBdh_link\fR コマンドはリンクを張りたい元と先のファイル名をペアにしたものの一覧を受けとります。リンクを張る元のファイルはすでに実体のあるファイルを指定します。また、リンクを張りたい先のファイル名でシンボリックリンクが作成されます。リンクを張る元と先のファイル名は同じ数だけ指定することが\fB必須\fRです。 .PP リンク元と先の完全なファイル名を指定していることを\fB必ず\fR確かめてください (\fIln\fR\|(1) か何かを使っている時とは違って入念に調べてください)。 .PP \&\fBdh_link\fR will generate symlinks that comply with Debian policy \- absolute when policy says they should be absolute, and relative links with as short a path as possible. It will also create any subdirectories it needs to put the symlinks in. .PP もしシンボリックリンクを作成しようとしている場所に同名のファイルが存在した場合は、シンボリックリンクに置き換えられます。 .PP \&\fBdh_link\fR は、また、パッケージビルドツリー以下で、Debian ポリシーマニュアル違反であるようなすでに存在するシンボリックリンクを探し回り、そしてこれらを正しくなるように修正します (互換性レベル v4 以上)。 .SH "ファイル" .IX Header "ファイル" .IP "debian/\fIpackage\fR.links" 4 .IX Item "debian/package.links" これらファイルにはお互いシンボリックリンクされるような元ファイル名と先ファイル名のリストを列挙します。それぞれのペアは1つの行に記載されなければならず、さらに元ファイル名と先ファイル名は空白で区切られていなければなりません。 .SH "オプション" .IX Header "オプション" .IP "\fB\-A\fR, \fB\-\-all\fR" 4 .IX Item "-A, --all" コマンドラインパラメータとして指定されているリンクを、単に最初に処理するパッケージのみではなく、作業する予定の全パッケージ対して作成します。 .IP "\fB\-X\fR\fIitem\fR, \fB\-\-exclude=\fR\fIitem\fR" 4 .IX Item "-Xitem, --exclude=item" ファイル名の一部に \fIitem\fR を含むシンボリックリンクを、Debian ポリシー準拠の為のリンク修正の対象から除外します。 .IP "\fIsource destination\fR ..." 4 .IX Item "source destination ..." \&\fIsource\fR という名前へのリンクファイルとして \fIdestination\fR という名前のファイルを作成します。最初にビルドされるパッケージビルドディレクトリ以下にてこの操作を行います (あるいは、\fB\-A\fR が指定されている場合は全パッケージに対して作業を行います)。 .SH "使用例" .IX Header "使用例" .Vb 1 \& dh_link usr/share/man/man1/foo.1 usr/share/man/man1/bar.1 .Ve .PP \&\fIfoo.1\fR へのシンボリックリンクとして \fIbar.1\fR を作成します。 .PP .Vb 2 \& dh_link var/lib/foo usr/lib/foo \e \& usr/share/man/man1/foo.1 usr/share/man/man1/bar.1 .Ve .PP \&\fI/var/lib/foo/\fR へのシンボリックリンクとして \fI/usr/lib/foo/\fR を作成します。また、\fIfoo.1\fR へのシンボリックリンクとして、\fIbar.1\fR を作成します。 .SH "参照" .IX Header "参照" \&\fIdebhelper\fR\|(7) .PP このプログラムは debhelper の一部です。 .SH "作者" .IX Header "作者" Joey Hess