diff options
author | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2019-02-19 18:32:45 +0100 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2019-02-19 18:32:45 +0100 |
commit | 797969983d38149f4a0ea1f960becfac88fc2b8e (patch) | |
tree | 69e919da4acd28efcf54a68fee7eb9b584807655 /doc/sgml2latex | |
parent | b3fceeba30bd6a685de0aa17dbe6bcfd77d1ca29 (diff) |
Doc: Detect SP/OpenSP automatically
Diffstat (limited to 'doc/sgml2latex')
-rwxr-xr-x | doc/sgml2latex | 4 |
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}" : ""); |