Doc: Allow overriding $SGML_CATALOG_FILES using distribution specific paths
This commit is contained in:
parent
f26bf60fb5
commit
0e4920632a
3 changed files with 6 additions and 3 deletions
|
@ -34,7 +34,8 @@ $progs = {
|
||||||
"GROFFMACRO" => "-ms",
|
"GROFFMACRO" => "-ms",
|
||||||
"AWK" => "/usr/share/linuxdoc-tools/awkwhich"
|
"AWK" => "/usr/share/linuxdoc-tools/awkwhich"
|
||||||
};
|
};
|
||||||
$ENV{"SGML_CATALOG_FILES"} = "$DataDir/dtd/catalog";
|
$ENV{"SGML_CATALOG_FILES"} = "$DataDir/dtd/catalog" .
|
||||||
|
(defined $ENV{SGML_CATALOG_FILES} ? ":$ENV{SGML_CATALOG_FILES}" : "");
|
||||||
|
|
||||||
require "$FindBin::Bin/LinuxDocTools.pm";
|
require "$FindBin::Bin/LinuxDocTools.pm";
|
||||||
&LinuxDocTools::init;
|
&LinuxDocTools::init;
|
||||||
|
|
|
@ -34,7 +34,8 @@ $progs = {
|
||||||
"GROFFMACRO" => "-ms",
|
"GROFFMACRO" => "-ms",
|
||||||
"AWK" => "/usr/share/linuxdoc-tools/awkwhich"
|
"AWK" => "/usr/share/linuxdoc-tools/awkwhich"
|
||||||
};
|
};
|
||||||
$ENV{"SGML_CATALOG_FILES"} = "$DataDir/dtd/catalog";
|
$ENV{"SGML_CATALOG_FILES"} = "$DataDir/dtd/catalog" .
|
||||||
|
(defined $ENV{SGML_CATALOG_FILES} ? ":$ENV{SGML_CATALOG_FILES}" : "");
|
||||||
|
|
||||||
require "$FindBin::Bin/LinuxDocTools.pm";
|
require "$FindBin::Bin/LinuxDocTools.pm";
|
||||||
&LinuxDocTools::init;
|
&LinuxDocTools::init;
|
||||||
|
|
|
@ -34,7 +34,8 @@ $progs = {
|
||||||
"GROFFMACRO" => "-ms",
|
"GROFFMACRO" => "-ms",
|
||||||
"AWK" => "/usr/share/linuxdoc-tools/awkwhich"
|
"AWK" => "/usr/share/linuxdoc-tools/awkwhich"
|
||||||
};
|
};
|
||||||
$ENV{"SGML_CATALOG_FILES"} = "$DataDir/dtd/catalog";
|
$ENV{"SGML_CATALOG_FILES"} = "$DataDir/dtd/catalog" .
|
||||||
|
(defined $ENV{SGML_CATALOG_FILES} ? ":$ENV{SGML_CATALOG_FILES}" : "");
|
||||||
|
|
||||||
require "$FindBin::Bin/LinuxDocTools.pm";
|
require "$FindBin::Bin/LinuxDocTools.pm";
|
||||||
&LinuxDocTools::init;
|
&LinuxDocTools::init;
|
||||||
|
|
Loading…
Reference in a new issue