Skip to content

Commit d48faf1

Browse files
committed
doc: Mention ${sysconfdir} in man pages
Fixes #395.
1 parent 3ab57bf commit d48faf1

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

doc/xmlcatalog.xml

+3-1
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,9 @@
377377
queries to the user's own set of catalogs. This can be done by setting
378378
the <envar>XML_CATALOG_FILES</envar> environment variable to a space-separated
379379
list of catalogs. Use percent-encoding to escape spaces or other characters.
380-
An empty variable should deactivate loading the default <filename>/etc/xml/catalog</filename> catalog.
380+
An empty variable should deactivate loading the default catalog from
381+
<filename>/etc/xml/catalog</filename> or, more specifically,
382+
<filename>${sysconfdir}/xml/catalog</filename>.
381383
</para>
382384
</listitem>
383385
</varlistentry>

doc/xmllint.xml

+4-3
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,8 @@
167167
<para>
168168
Use the <acronym>SGML</acronym> catalog(s) from <envar>SGML_CATALOG_FILES</envar>.
169169
Otherwise <acronym>XML</acronym> catalogs starting
170-
from <filename>/etc/xml/catalog</filename> are used by default.
170+
from <filename>/etc/xml/catalog</filename> or, more specifically,
171+
<filename>${sysconfdir}/xml/catalog</filename> are used by default.
171172
</para>
172173
</listitem>
173174
</varlistentry>
@@ -800,7 +801,7 @@
800801
queries to the user's own set of catalogs. This can be done by setting
801802
the <envar>SGML_CATALOG_FILES</envar> environment variable to a list
802803
of catalogs. An empty one should deactivate loading the
803-
default <filename>/etc/sgml/catalog</filename> catalog.
804+
default catalog.
804805
</para>
805806
</listitem>
806807
</varlistentry>
@@ -812,7 +813,7 @@
812813
queries to the user's own set of catalogs. This can be done by setting
813814
the <envar>XML_CATALOG_FILES</envar> environment variable to a space-separated
814815
list of catalogs. Use percent-encoding to escape spaces or other characters.
815-
An empty variable should deactivate loading the default <filename>/etc/xml/catalog</filename> catalog.
816+
An empty variable should deactivate loading the default catalog.
816817
</para>
817818
</listitem>
818819
</varlistentry>

0 commit comments

Comments
 (0)