DH_INSTALLCATALOGS
Section: Debhelper (1)
Updated: 2023-01-02
Index
Return to Main Contents
名前
dh_installcatalogs - SGML カタログファイルをインストール・登録する
書式
dh_installcatalogs [debhelper options] [-n]
説明
dh_installcatalogs は SGML カタログをインストールし登録するプログラムです。この動作は Debian XML/SGML ポリシーに準拠します。
カタログは /etc/sgml/package.cat にある上位カタログに登録されます。
This command automatically adds maintainer script snippets for registering and unregistering the catalogs and supercatalogs (unless -n is used). These snippets are inserted into the maintainer scripts and the triggers file by dh_installdeb; see dh_installdeb(1) for an explanation of Debhelper maintainer script snippets.
sgml-base への依存関係に関する情報は ${misc:Depends} へ追加されるので、debian/control で必ずこの変数を使ってください。
ファイル
- debian/package.sgmlcatalogs
-
パッケージ毎にインストールすべきカタログを列挙します。このファイルには、各々の行が "source dest" の形式で指定されている必要があります。ここで、source はインストール元のカタログがソースのどこに入っているかを示し、また、dest にはビルド領域以下のどこにカタログをインストールすべきかを示します。dest は /usr/share/sgml/ から始まる必要があります。
Supports substitution variables in compat 13 and later as documented in debhelper(7).
オプション
- -n, --no-scripts
-
Do not modify postinst/postrm/prerm scripts nor add an activation trigger.
付記
このコマンドは複数回実行しても安全なコマンドではありません。このコマンドを複数回呼び出す際には必ず間に dh_prep(1) を挿入してください。さもないと、メンテナスクリプト中に同じ内容のコードを繰り返し挿入してしまいます。
参照
debhelper(7)
/usr/share/doc/sgml-base-doc/
作者
Adam Di Carlo <aph@debian.org>
Index
- 名前
-
- 書式
-
- 説明
-
- ファイル
-
- オプション
-
- 付記
-
- 参照
-
- 作者
-
This document was created by
man2html,
using the manual pages.
Time: 04:35:00 GMT, May 23, 2024