mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-11-18 17:18:42 +00:00
7152e5efbb
Also removed the lib-dir merging with sysdep. Updated #include's accordingly. Fixed make doc on recent Debian together with moving generated doc into objdir. Moved Makefile.in into root dir Retired all.o and birdlib.a Linking the final binaries directly from all the .o files.
49 lines
932 B
Perl
Executable File
49 lines
932 B
Perl
Executable File
#!/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 $DataDir $BinDir $progs);
|
|
|
|
use FindBin;
|
|
|
|
$prefix = "/usr";
|
|
$DataDir = "$FindBin::Bin/sbase";
|
|
$BinDir = "/usr/bin";
|
|
|
|
use lib "/usr/share/linuxdoc-tools";
|
|
use lib "/usr/perl5";
|
|
use lib "/usr/lib/perl5";
|
|
use lib "/usr/share/perl5";
|
|
$progs = {
|
|
"NSGMLS" => "/usr/bin/nsgmls",
|
|
"SGMLSASP" => "/usr/bin/sgmlsasp",
|
|
"GROFF" => "/usr/bin/groff",
|
|
"GROFFMACRO" => "-ms",
|
|
"AWK" => "/usr/share/linuxdoc-tools/awkwhich"
|
|
};
|
|
$ENV{"SGML_CATALOG_FILES"} = "$DataDir/dtd/catalog";
|
|
|
|
require "$FindBin::Bin/LinuxDocTools.pm";
|
|
&LinuxDocTools::init;
|
|
|
|
my @FileList = LinuxDocTools::process_options ("latex", @ARGV);
|
|
for my $curfile (@FileList)
|
|
{
|
|
LinuxDocTools::process_file ($curfile);
|
|
}
|
|
|
|
exit 0;
|