summaryrefslogtreecommitdiffstats
path: root/doc/sgml2html
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>2000-05-11 14:00:35 +0200
committerPavel Machek <pavel@ucw.cz>2000-05-11 14:00:35 +0200
commit6e06e6eef098859da95ff56a8ee9b4c75467901a (patch)
tree7e8c6adfc9f2bf0a0076308b7a2f28069730e85a /doc/sgml2html
parent0e7a720a1c8119912c00edf893702857c0d39d04 (diff)
downloadbird-6e06e6eef098859da95ff56a8ee9b4c75467901a.tar
bird-6e06e6eef098859da95ff56a8ee9b4c75467901a.zip
Critical files from linuxdoc1 distribution checked in.
Diffstat (limited to 'doc/sgml2html')
-rwxr-xr-xdoc/sgml2html44
1 files changed, 44 insertions, 0 deletions
diff --git a/doc/sgml2html b/doc/sgml2html
new file mode 100755
index 0000000..3f7b682
--- /dev/null
+++ b/doc/sgml2html
@@ -0,0 +1,44 @@
+#!/usr/bin/perl
+#
+# sgmltools.in
+#
+# $Id$
+#
+# SGML-Tools driver. Calls all other SGML-Tools components, contains
+# configuration information, etcetera.
+#
+package main;
+
+sub BEGIN
+{
+ require 5.004;
+}
+use strict;
+
+use vars qw($prefix $LibDir $BinDir $progs);
+
+$prefix = "/usr";
+$LibDir = "sbase";
+$BinDir = "/usr/bin";
+
+use lib "/usr/lib/sgml-tools";
+use lib "/usr/perl5";
+use lib "/usr/lib/perl5";
+$progs = {
+ "NSGMLS" => "/usr/bin/nsgmls",
+ "SGMLSASP" => "/usr/bin/sgmlsasp",
+ "GROFF" => "/usr/bin/groff",
+ "GROFFMACRO" => "-mgs"
+};
+
+require SGMLTools;
+&SGMLTools::init;
+
+my @FileList = SGMLTools::process_options ($0, @ARGV);
+for my $curfile (@FileList)
+ {
+ SGMLTools::process_file ($curfile);
+ }
+
+exit 0;
+