summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rwxr-xr-xdoc/sgml2html4
-rwxr-xr-xdoc/sgml2latex4
-rwxr-xr-xdoc/sgml2txt4
3 files changed, 12 insertions, 0 deletions
diff --git a/doc/sgml2html b/doc/sgml2html
index 6072a7a3..ea8e8c92 100755
--- a/doc/sgml2html
+++ b/doc/sgml2html
@@ -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}" : "");
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}" : "");
diff --git a/doc/sgml2txt b/doc/sgml2txt
index af0bcb49..013479fe 100755
--- a/doc/sgml2txt
+++ b/doc/sgml2txt
@@ -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}" : "");