Provided by: debhelper_13.24.2ubuntu1_all 

名前
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> 13.24.2ubuntu1 2025-05-22 DH_INSTALLCATALOGS(1)