From 0e4920632aa30dab4fbfb0530bce5a959e7a7675 Mon Sep 17 00:00:00 2001 From: Robert Scheck Date: Tue, 4 Dec 2018 18:14:04 +0100 Subject: Doc: Allow overriding $SGML_CATALOG_FILES using distribution specific paths --- doc/sgml2html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'doc/sgml2html') diff --git a/doc/sgml2html b/doc/sgml2html index a5bbee9e..6072a7a3 100755 --- a/doc/sgml2html +++ b/doc/sgml2html @@ -34,7 +34,8 @@ $progs = { "GROFFMACRO" => "-ms", "AWK" => "/usr/share/linuxdoc-tools/awkwhich" }; -$ENV{"SGML_CATALOG_FILES"} = "$DataDir/dtd/catalog"; +$ENV{"SGML_CATALOG_FILES"} = "$DataDir/dtd/catalog" . + (defined $ENV{SGML_CATALOG_FILES} ? ":$ENV{SGML_CATALOG_FILES}" : ""); require "$FindBin::Bin/LinuxDocTools.pm"; &LinuxDocTools::init; -- cgit v1.2.3