Revision 7152e5ef doc/sgml2latex

View differences:

doc/sgml2latex
17 17

  
18 18
use vars qw($prefix $DataDir $BinDir $progs);
19 19

  
20
use FindBin;
21

  
20 22
$prefix = "/usr";
21
$DataDir = "sbase";
23
$DataDir = "$FindBin::Bin/sbase";
22 24
$BinDir = "/usr/bin";
23 25

  
24 26
use lib "/usr/share/linuxdoc-tools";
......
32 34
  "GROFFMACRO" => "-ms",
33 35
  "AWK" => "/usr/share/linuxdoc-tools/awkwhich"
34 36
};
35
$ENV{"SGML_CATALOG_FILES"} = "sbase/dtd/catalog";
37
$ENV{"SGML_CATALOG_FILES"} = "$DataDir/dtd/catalog";
36 38

  
37
require "./LinuxDocTools.pm";
39
require "$FindBin::Bin/LinuxDocTools.pm";
38 40
&LinuxDocTools::init;
39 41

  
40 42
my @FileList = LinuxDocTools::process_options ("latex", @ARGV);

Also available in: Unified diff