summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Scheck <robert@fedoraproject.org>2018-12-20 13:25:31 +0100
committerOndrej Zajicek (work) <santiago@crfreenet.org>2018-12-20 13:25:31 +0100
commit7a53383a22e2163b9d84188052a6a3a431656119 (patch)
tree6d6d8ee5f7cf37a42a85ef82923134bc31184cc7
parentb47d33b344de2cf19cc2b02f9ee89ffa59ad525f (diff)
Doc: Add alternative path for SGML ISO entities 8879.1986 to $SGML_CATALOG_FILES
The existing paths are valid for Debian, alternative paths are necessary for Fedora and RHEL/CentOS.
-rw-r--r--doc/LinuxDocTools.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/LinuxDocTools.pm b/doc/LinuxDocTools.pm
index 51d4a04c..42cad0ca 100644
--- a/doc/LinuxDocTools.pm
+++ b/doc/LinuxDocTools.pm
@@ -242,6 +242,7 @@ sub process_options
# removes iso-entites sub directory after doing make install.)
#
$ENV{SGML_CATALOG_FILES} .= (defined $ENV{SGML_CATALOG_FILES} ? ":" : "") .
+ "$main::prefix/share/sgml/sgml-iso-entities-8879.1986/catalog:" .
"$main::prefix/share/sgml/entities/sgml-iso-entities-8879.1986/catalog";
$ENV{SGML_CATALOG_FILES} .= ":$main::DataDir/linuxdoc-tools.catalog";
$ENV{SGML_CATALOG_FILES} .= ":$main::/etc/sgml.catalog";