Doc: Update sgml2* tools
The old ones do not work on current Debian.
This commit is contained in:
parent
7e8d6116df
commit
d9573a40ec
3 changed files with 15 additions and 9 deletions
|
@ -17,8 +17,10 @@ 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";
|
||||||
|
@ -32,9 +34,9 @@ $progs = {
|
||||||
"GROFFMACRO" => "-ms",
|
"GROFFMACRO" => "-ms",
|
||||||
"AWK" => "/usr/share/linuxdoc-tools/awkwhich"
|
"AWK" => "/usr/share/linuxdoc-tools/awkwhich"
|
||||||
};
|
};
|
||||||
$ENV{"SGML_CATALOG_FILES"} = "sbase/dtd/catalog";
|
$ENV{"SGML_CATALOG_FILES"} = "$DataDir/dtd/catalog";
|
||||||
|
|
||||||
require "./LinuxDocTools.pm";
|
require "$FindBin::Bin/LinuxDocTools.pm";
|
||||||
&LinuxDocTools::init;
|
&LinuxDocTools::init;
|
||||||
|
|
||||||
my @FileList = LinuxDocTools::process_options ("html", @ARGV);
|
my @FileList = LinuxDocTools::process_options ("html", @ARGV);
|
||||||
|
|
|
@ -17,8 +17,10 @@ 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";
|
||||||
|
@ -32,9 +34,9 @@ $progs = {
|
||||||
"GROFFMACRO" => "-ms",
|
"GROFFMACRO" => "-ms",
|
||||||
"AWK" => "/usr/share/linuxdoc-tools/awkwhich"
|
"AWK" => "/usr/share/linuxdoc-tools/awkwhich"
|
||||||
};
|
};
|
||||||
$ENV{"SGML_CATALOG_FILES"} = "sbase/dtd/catalog";
|
$ENV{"SGML_CATALOG_FILES"} = "$DataDir/dtd/catalog";
|
||||||
|
|
||||||
require "./LinuxDocTools.pm";
|
require "$FindBin::Bin/LinuxDocTools.pm";
|
||||||
&LinuxDocTools::init;
|
&LinuxDocTools::init;
|
||||||
|
|
||||||
my @FileList = LinuxDocTools::process_options ("latex", @ARGV);
|
my @FileList = LinuxDocTools::process_options ("latex", @ARGV);
|
||||||
|
|
|
@ -17,8 +17,10 @@ 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";
|
||||||
|
@ -32,9 +34,9 @@ $progs = {
|
||||||
"GROFFMACRO" => "-ms",
|
"GROFFMACRO" => "-ms",
|
||||||
"AWK" => "/usr/share/linuxdoc-tools/awkwhich"
|
"AWK" => "/usr/share/linuxdoc-tools/awkwhich"
|
||||||
};
|
};
|
||||||
$ENV{"SGML_CATALOG_FILES"} = "sbase/dtd/catalog";
|
$ENV{"SGML_CATALOG_FILES"} = "$DataDir/dtd/catalog";
|
||||||
|
|
||||||
require "./LinuxDocTools.pm";
|
require "$FindBin::Bin/LinuxDocTools.pm";
|
||||||
&LinuxDocTools::init;
|
&LinuxDocTools::init;
|
||||||
|
|
||||||
my @FileList = LinuxDocTools::process_options ("txt", @ARGV);
|
my @FileList = LinuxDocTools::process_options ("txt", @ARGV);
|
||||||
|
|
Loading…
Reference in a new issue