mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-11-08 20:28:43 +00:00
Doc: Detect SP/OpenSP automatically
This commit is contained in:
parent
b3fceeba30
commit
797969983d
5
INSTALL
5
INSTALL
@ -40,8 +40,3 @@ For compiling BIRD documentation you also need:
|
|||||||
|
|
||||||
- Linuxdoc-Tools
|
- Linuxdoc-Tools
|
||||||
- LaTeX
|
- LaTeX
|
||||||
|
|
||||||
Note that build scripts for BIRD documentation expects 'nsgmls' from
|
|
||||||
James Clark's SP suite, while modern distributions use 'onsgmls' from
|
|
||||||
OpenSP suite. It is possible to build BIRD documentation with OpenSP
|
|
||||||
tools, but it requires manually tweaking paths in doc/sgml2* scripts.
|
|
||||||
|
@ -34,6 +34,10 @@ $progs = {
|
|||||||
"GROFFMACRO" => "-ms",
|
"GROFFMACRO" => "-ms",
|
||||||
"AWK" => "/usr/share/linuxdoc-tools/awkwhich"
|
"AWK" => "/usr/share/linuxdoc-tools/awkwhich"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if (! -x $progs->{"NSGMLS"})
|
||||||
|
{ $progs->{"NSGMLS"} = "/usr/bin/onsgmls"; }
|
||||||
|
|
||||||
$ENV{"SGML_CATALOG_FILES"} = "$DataDir/dtd/catalog" .
|
$ENV{"SGML_CATALOG_FILES"} = "$DataDir/dtd/catalog" .
|
||||||
(defined $ENV{SGML_CATALOG_FILES} ? ":$ENV{SGML_CATALOG_FILES}" : "");
|
(defined $ENV{SGML_CATALOG_FILES} ? ":$ENV{SGML_CATALOG_FILES}" : "");
|
||||||
|
|
||||||
|
@ -34,6 +34,10 @@ $progs = {
|
|||||||
"GROFFMACRO" => "-ms",
|
"GROFFMACRO" => "-ms",
|
||||||
"AWK" => "/usr/share/linuxdoc-tools/awkwhich"
|
"AWK" => "/usr/share/linuxdoc-tools/awkwhich"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if (! -x $progs->{"NSGMLS"})
|
||||||
|
{ $progs->{"NSGMLS"} = "/usr/bin/onsgmls"; }
|
||||||
|
|
||||||
$ENV{"SGML_CATALOG_FILES"} = "$DataDir/dtd/catalog" .
|
$ENV{"SGML_CATALOG_FILES"} = "$DataDir/dtd/catalog" .
|
||||||
(defined $ENV{SGML_CATALOG_FILES} ? ":$ENV{SGML_CATALOG_FILES}" : "");
|
(defined $ENV{SGML_CATALOG_FILES} ? ":$ENV{SGML_CATALOG_FILES}" : "");
|
||||||
|
|
||||||
|
@ -34,6 +34,10 @@ $progs = {
|
|||||||
"GROFFMACRO" => "-ms",
|
"GROFFMACRO" => "-ms",
|
||||||
"AWK" => "/usr/share/linuxdoc-tools/awkwhich"
|
"AWK" => "/usr/share/linuxdoc-tools/awkwhich"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if (! -x $progs->{"NSGMLS"})
|
||||||
|
{ $progs->{"NSGMLS"} = "/usr/bin/onsgmls"; }
|
||||||
|
|
||||||
$ENV{"SGML_CATALOG_FILES"} = "$DataDir/dtd/catalog" .
|
$ENV{"SGML_CATALOG_FILES"} = "$DataDir/dtd/catalog" .
|
||||||
(defined $ENV{SGML_CATALOG_FILES} ? ":$ENV{SGML_CATALOG_FILES}" : "");
|
(defined $ENV{SGML_CATALOG_FILES} ? ":$ENV{SGML_CATALOG_FILES}" : "");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user