man-pages/man1/dh_installcatalogs.1.html
2021-03-31 01:06:50 +01:00

125 lines
3.3 KiB
HTML
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of DH_INSTALLCATALOGS</TITLE>
</HEAD><BODY>
<H1>DH_INSTALLCATALOGS</H1>
Section: Debhelper (1)<BR>Updated: 2020-03-27<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
dh_installcatalogs - install and register SGML Catalogs
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<B>dh_installcatalogs</B> [<I>debhelper options</I>] [<B>-n</B>]
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
<B>dh_installcatalogs</B> is a debhelper program that installs and
registers <FONT SIZE="-1">SGML</FONT> catalogs. It complies with the Debian <FONT SIZE="-1">XML/SGML</FONT> policy.
<P>
Catalogs will be registered in a supercatalog, in
<I>/etc/sgml/package.cat</I>.
<P>
This command automatically adds maintainer script snippets for
registering and unregistering the catalogs and supercatalogs (unless
<B>-n</B> is used). These snippets are inserted into the maintainer
scripts and the <B>triggers</B> file by <B>dh_installdeb</B>; see
<B><A HREF="/cgi-bin/man/man2html?1+dh_installdeb">dh_installdeb</A></B>(1) for an explanation of Debhelper maintainer script
snippets.
<P>
A dependency on <B>sgml-base</B> will be added to <B>${misc:Depends}</B>, so be
sure your package uses that variable in <I>debian/control</I>.
<A NAME="lbAE">&nbsp;</A>
<H2>FILES</H2>
<DL COMPACT>
<DT id="1">debian/<I>package</I>.sgmlcatalogs<DD>
Lists the catalogs to be installed per package. Each line in that file
should be of the form <TT>&quot;</TT>source<TT> </TT>dest<TT>&quot;</TT>, where <I>source</I> indicates where the
catalog resides in the source tree, and <I>dest</I> indicates the destination
location for the catalog under the package build area. <I>dest</I> should
start with <I>/usr/share/sgml/</I>.
<P>
Supports substitution variables in compat 13 and later as
documented in <B><A HREF="/cgi-bin/man/man2html?7+debhelper">debhelper</A></B>(7).
</DL>
<A NAME="lbAF">&nbsp;</A>
<H2>OPTIONS</H2>
<DL COMPACT>
<DT id="2"><B>-n</B>, <B>--no-scripts</B><DD>
Do not modify <I>postinst</I>/<I>postrm</I>/<I>prerm</I> scripts nor add an
activation trigger.
</DL>
<A NAME="lbAG">&nbsp;</A>
<H2>NOTES</H2>
Note that this command is not idempotent. <B><A HREF="/cgi-bin/man/man2html?1+dh_prep">dh_prep</A></B>(1) should be
called between invocations of this command. Otherwise, it may cause
multiple instances of the same text to be added to maintainer scripts.
<A NAME="lbAH">&nbsp;</A>
<H2>SEE ALSO</H2>
<B><A HREF="/cgi-bin/man/man2html?7+debhelper">debhelper</A></B>(7)
<P>
<I>/usr/share/doc/sgml-base-doc/</I>
<A NAME="lbAI">&nbsp;</A>
<H2>AUTHOR</H2>
Adam Di Carlo &lt;<A HREF="mailto:aph@debian.org">aph@debian.org</A>&gt;
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="3"><A HREF="#lbAB">NAME</A><DD>
<DT id="4"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="5"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="6"><A HREF="#lbAE">FILES</A><DD>
<DT id="7"><A HREF="#lbAF">OPTIONS</A><DD>
<DT id="8"><A HREF="#lbAG">NOTES</A><DD>
<DT id="9"><A HREF="#lbAH">SEE ALSO</A><DD>
<DT id="10"><A HREF="#lbAI">AUTHOR</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:05:10 GMT, March 31, 2021
</BODY>
</HTML>