summaryrefslogtreecommitdiff
path: root/doc/sgml2latex
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2019-02-19 18:20:07 +0100
committerOndrej Zajicek (work) <santiago@crfreenet.org>2019-02-19 18:20:07 +0100
commit900fda4411a5346f808a575101b1260b5f73fa93 (patch)
treeca27f25397ae5e27347fcca03af7d85fdc5efc3d /doc/sgml2latex
parent3a8ca7abbcf6452fa56d0c1c6ddcf7d5bd6876ed (diff)
Doc: Detect SP/OpenSP automatically
Diffstat (limited to 'doc/sgml2latex')
-rwxr-xr-xdoc/sgml2latex4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/sgml2latex b/doc/sgml2latex
index c48f787d..79c6df03 100755
--- a/doc/sgml2latex
+++ b/doc/sgml2latex
@@ -34,6 +34,10 @@ $progs = {
"GROFFMACRO" => "-ms",
"AWK" => "/usr/share/linuxdoc-tools/awkwhich"
};
+
+if (! -x $progs->{"NSGMLS"})
+ { $progs->{"NSGMLS"} = "/usr/bin/onsgmls"; }
+
$ENV{"SGML_CATALOG_FILES"} = "$DataDir/dtd/catalog" .
(defined $ENV{SGML_CATALOG_FILES} ? ":$ENV{SGML_CATALOG_FILES}" : "");