dpkg (1.18.25) stretch; urgency=medium
[dpkg] / man / ja / dpkg-gencontrol.man
CommitLineData
1479465f
GJ
1.\" dpkg manual page - dpkg-gencontrol(1)
2.\"
3.\" Copyright © 1995-1996 Ian Jackson <ijackson@chiark.greenend.org.uk>
4.\" Copyright © 2000 Wichert Akkerman <wakkerma@debian.org>
5.\" Copyright © 2006, 2012-2013, 2015 Guillem Jover <guillem@debian.org>
6.\" Copyright © 2007-2008 Raphaël Hertzog <hertzog@debian.org>
7.\"
8.\" This is free software; you can redistribute it and/or modify
9.\" it under the terms of the GNU General Public License as published by
10.\" the Free Software Foundation; either version 2 of the License, or
11.\" (at your option) any later version.
12.\"
13.\" This is distributed in the hope that it will be useful,
14.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
15.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16.\" GNU General Public License for more details.
17.\"
18.\" You should have received a copy of the GNU General Public License
19.\" along with this program. If not, see <https://www.gnu.org/licenses/>.
20.
21.\"*******************************************************************
22.\"
23.\" This file was generated with po4a. Translate the source file.
24.\"
25.\"*******************************************************************
26.TH dpkg\-gencontrol 1 %RELEASE_DATE% %VERSION% "dpkg suite"
27.nh
28.SH 名前
29dpkg\-gencontrol \- Debian 制御ファイルの生成
30.
31.SH 書式
32\fBdpkg\-gencontrol\fP [\fIoption\fP...]
33.
34.SH 説明
35\fBdpkg\-gencontrol\fP は展開された Debian ソースツリーから情報を読み取り、バイナリパッケージの control ファイル
36(デフォルトでは debian/tmp/DEBIAN/control) を生成する。生成の過程で、関連するフィールドの単純化も行う。
37.sp
38Thus \fBPre\-Depends\fP, \fBDepends\fP, \fBRecommends\fP and \fBSuggests\fP are
39simplified in this order by removing dependencies which are known to be true
40according to the stronger dependencies already parsed. It will also remove
41any self\-dependency (in fact it will remove any dependency which evaluates
42to true given the current version of the package as installed). Logically it
43keeps the intersection of multiple dependencies on the same package. The
44order of dependencies is preserved as best as possible: if any dependency
45must be discarded due to another dependency appearing further in the field,
46the superseding dependency will take the place of the discarded one.
47.sp
48The other relation fields (\fBEnhances\fP, \fBConflicts\fP, \fBBreaks\fP, \fBReplaces\fP
49and \fBProvides\fP) are also simplified individually by computing the union of
50the various dependencies when a package is listed multiple times in the
51field.
52.sp
53\fBdpkg\-gencontrol\fP は \fBdebian/files\fP へのバイナリパッケージのエントリ追加も行う。
54.
55.SH オプション
56.TP
57\fB\-v\fP\fIversion\fP
58生成されるバイナリパッケージのバージョン番号を設定する。
59.TP
60\fB\-V\fP\fIname\fP\fB=\fP\fIvalue\fP
61変数を設定する。出力時の置換に関する詳細は、\fBdeb\-substvars\fP(5) を参照のこと。
62.TP
63\fB\-T\fP\fIsubstvars\-file\fP
64Read substitution variables in \fIsubstvars\-file\fP; the default is
65\fBdebian/substvars\fP. This option can be used multiple times to read
66substitution variables from multiple files (since dpkg 1.15.6).
67.TP
68\fB\-D\fP\fIfield\fP\fB=\fP\fIvalue\fP
69出力制御ファイルのフィールドを上書きもしくは追加する。
70.TP
71\fB\-U\fP\fIfield\fP
72出力制御ファイルのフィールドを削除する。
73.TP
74\fB\-c\fP\fIcontrol\-file\fP
75情報の読み取り元となる主なソース制御ファイルを指定する。デフォルトは \fBdebian/control\fP。
76.TP
77\fB\-l\fP\fIchangelog\-file\fP
78情報の読み取り元となる changelog ファイルを指定する。デフォルトは \fBdebian/changelog\fP。
79.TP
80\fB\-f\fP\fIfiles\-list\-file\fP
81\fBdebian/files\fP の代わりにこのファイルに記載されたファイルのリストを読み書きする。
82.TP
83\fB\-F\fP\fIchangelog\-format\fP
84changelog ファイルのフォーマットを指定する。指定可能なフォーマットについての情報は、\fBdpkg\-parsechangelog\fP(1)
85を参照のこと。
86.TP
87\fB\-p\fP\fIpackage\fP
88バイナリパッケージ \fIpackage\fP
89の情報を生成する。ソース制御ファイルに単一のバイナリパッケージだけが記載されていた場合、このオプションは省略してもよい。それ以外の場合は、どのバイナリパッケージの情報を生成するかを選択する上で、このオプションが不可欠である。
90.TP
91\fB\-n\fP\fIfilename\fP
92通常の package_version_arch.deb というファイル名ではなく、パッケージのファイル名を \fIfilename\fP とする。
93.TP
94\fB\-is\fP, \fB\-ip\fP, \fB\-isp\fP
95These options are ignored for compatibility with older versions of the dpkg
96build scripts but are now deprecated. Previously they were used to tell
97\fBdpkg\-gencontrol\fP to include the Section and Priority fields in the control
98file. This is now the default behaviour. If you want to get the old
99behaviour you can use the \fB\-U\fP option to delete the fields from the control
100file.
101.TP
102\fB\-P\fP\fIpackage\-build\-dir\fP
103\fBdpkg\-source\fP に対して、パッケージを \fBdebian/tmp\fP ではなく \fIpackage\-build\-dir\fP
104内でビルドするように設定する。この値は \fBInstalled\-Size\fP 変数や制御ファイルフィールドの値のデフォルト値を (\fBdu\fP を用いて)
105算出する際に用いられる他、出力ファイルのデフォルトの場所としても用いられる。
106.TP
107\fB\-O\fP[\fIfilename\fP]
108Print the control file to standard output (or \fIfilename\fP if specified,
109since dpkg 1.17.2), rather than to \fBdebian/tmp/DEBIAN/control\fP (or
110\fIpackage\-build\-dir\fP\fB/DEBIAN/control\fP if \fB\-P\fP was used).
111.TP
112\fB\-?\fP, \fB\-\-help\fP
113利用方法を表示して終了する。
114.TP
115\fB\-\-version\fP
116バージョン情報を表示して終了する。
117.
118.SH ファイル
119.TP
120\fBdebian/control\fP
121主たるソース制御情報ファイルであり、生成可能なソースパッケージおよびバイナリパッケージに関するバージョン非依存の情報を提供する。
122.TP
123\fBdebian/files\fP
124アップロードの準備の一部をなす、生成されたファイルのリスト。\fBdpkg\-gencontrol\fP
125は、制御ファイルを生成したバイナリパッケージのファイル名を追加する。
126.SH 関連項目
127.ad l
128\fBdeb\-substvars\fP(5), \fBdeb\-src\-control\fP(5), \fBdeb\-changelog\fP(5),
129\fBdeb\-control\fP(5).
130.SH 翻訳者
131高橋 基信 <monyo@monyo.com>.
132喜瀬 浩 <kise@fuyuneko.jp>.
133関戸 幸一 <sekido@mbox.kyoto-inet.or.jp>.
134鍋谷 栄展 <nabe@debian.or.jp>.
135倉澤 望 <nabetaro@debian.or.jp>.
136石川 睦 <ishikawa@linux.or.jp>.
137鵜飼 文敏 <ukai@debian.or.jp>.
138中野 武雄 <nakano@apm.seikei.ac.jp>.
139.SH 翻訳校正
140Debian JP Documentation ML <debian-doc@debian.or.jp>.