version 1.1.1.1, 2017/08/22 12:33:54
|
version 1.1.1.2, 2021/03/17 19:50:23
|
Line 17 use strict;
|
Line 17 use strict;
|
|
|
use vars qw($prefix $DataDir $BinDir $progs); |
use vars qw($prefix $DataDir $BinDir $progs); |
|
|
|
use FindBin; |
|
|
$prefix = "/usr"; |
$prefix = "/usr"; |
$DataDir = "sbase"; | $DataDir = "$FindBin::Bin/sbase"; |
$BinDir = "/usr/bin"; |
$BinDir = "/usr/bin"; |
|
|
use lib "/usr/share/linuxdoc-tools"; |
use lib "/usr/share/linuxdoc-tools"; |
Line 32 $progs = {
|
Line 34 $progs = {
|
"GROFFMACRO" => "-ms", |
"GROFFMACRO" => "-ms", |
"AWK" => "/usr/share/linuxdoc-tools/awkwhich" |
"AWK" => "/usr/share/linuxdoc-tools/awkwhich" |
}; |
}; |
$ENV{"SGML_CATALOG_FILES"} = "sbase/dtd/catalog"; |
|
|
|
require "./LinuxDocTools.pm"; | 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}" : ""); |
| |
| require "$FindBin::Bin/LinuxDocTools.pm"; |
&LinuxDocTools::init; |
&LinuxDocTools::init; |
|
|
my @FileList = LinuxDocTools::process_options ("latex", @ARGV); |
my @FileList = LinuxDocTools::process_options ("latex", @ARGV); |