diff options
author | Robert Scheck <robert@fedoraproject.org> | 2018-12-20 13:25:53 +0100 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2018-12-20 13:25:53 +0100 |
commit | cdf2daae01c63d383b03d66e14692ff27bdbd180 (patch) | |
tree | 72d8ae947986463d5bf09fe826b204b6d83439ab /doc/sgml2latex | |
parent | 7a53383a22e2163b9d84188052a6a3a431656119 (diff) |
Doc: Allow overriding $SGML_CATALOG_FILES using distribution specific paths
Diffstat (limited to 'doc/sgml2latex')
-rwxr-xr-x | doc/sgml2latex | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/sgml2latex b/doc/sgml2latex index 02b60d94..c48f787d 100755 --- a/doc/sgml2latex +++ b/doc/sgml2latex @@ -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; |