docbook-utils/docbook-utils-catalog-jw.patch

22 lines
752 B
Diff

--- docbook-utils-0.6.14/bin/jw.in.catalog 2004-11-08 11:49:28.650526879 +0100
+++ docbook-utils-0.6.14/bin/jw.in 2004-11-08 11:48:25.783155906 +0100
@@ -73,7 +73,7 @@
SGML_STANDARD_CATALOGS="yes"
# Set path to user SGML catalogs
-SGML_EXTRA_CATALOGS=""
+SGML_EXTRA_CATALOGS=":/etc/sgml/catalog:/usr/share/sgml/CATALOG.docbook-dsssl-stylesheets"
# Set SGML base directory and centralized catalogs directory
SGML_BASE_DIR="@prefix@/share/sgml"
@@ -291,6 +291,7 @@
# Use SGML declaration for XML if needed
if [ "$SGML_DECL" = "" -a "$SGML_XML" = "xml" ]
then SGML_DECL=${SGML_BASE_DIR}/xml.dcl
+ [ -f $SGML_DECL ] || SGML_DECL=${SGML_BASE_DIR}/opensp/xml.dcl
fi
# Try to find the SGML normalizer
Diff finished. Mon Nov 8 11:49:40 2004