1DH_INSTALLCATALOGS(1) Debhelper DH_INSTALLCATALOGS(1)
2
3
4
6 dh_installcatalogs - install and register SGML Catalogs
7
9 dh_installcatalogs [debhelperĀ options] [-n]
10
12 dh_installcatalogs is a debhelper program that installs and registers
13 SGML catalogs. It complies with the Debian XML/SGML policy.
14
15 Catalogs will be registered in a supercatalog, in
16 /etc/sgml/package.cat.
17
18 This command automatically adds maintainer script snippets for
19 registering and unregistering the catalogs and supercatalogs (unless -n
20 is used). These snippets are inserted into the maintainer scripts and
21 the triggers file by dh_installdeb; see dh_installdeb(1) for an
22 explanation of Debhelper maintainer script snippets.
23
24 A dependency on sgml-base will be added to ${misc:Depends}, so be sure
25 your package uses that variable in debian/control.
26
28 debian/package.sgmlcatalogs
29 Lists the catalogs to be installed per package. Each line in that
30 file should be of the form "source dest", where source indicates
31 where the catalog resides in the source tree, and dest indicates
32 the destination location for the catalog under the package build
33 area. dest should start with /usr/share/sgml/.
34
35 Supports substitution variables in compat 13 and later as
36 documented in debhelper(7).
37
39 -n, --no-scripts
40 Do not modify postinst/postrm/prerm scripts nor add an activation
41 trigger.
42
44 Note that this command is not idempotent. dh_prep(1) should be called
45 between invocations of this command. Otherwise, it may cause multiple
46 instances of the same text to be added to maintainer scripts.
47
49 debhelper(7)
50
51 /usr/share/doc/sgml-base-doc/
52
54 Adam Di Carlo <aph@debian.org>
55
56
57
5813.11.4 2023-01-22 DH_INSTALLCATALOGS(1)