diff options
author | Ondrej Filip <feela@network.cz> | 2022-02-20 15:30:47 +0100 |
---|---|---|
committer | Ondrej Filip <feela@network.cz> | 2022-02-20 15:30:47 +0100 |
commit | eb859a3fb063b261fb76304e5b8eca206e7a162a (patch) | |
tree | b0698d66477143eea99a35c3e93c45d92c005cf6 | |
parent | 9b13fa4d9c3cd8894f61ed84a38ef3c69fe4fe6f (diff) |
Small change to fix doc building on Debianv2.0.9
-rwxr-xr-x | tools/linuxdoc | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/tools/linuxdoc b/tools/linuxdoc index 045aa93b..603a0bf5 100755 --- a/tools/linuxdoc +++ b/tools/linuxdoc @@ -25,9 +25,13 @@ use FindBin; $prefix = "/usr"; $isoentities_prefix = "/usr"; $DataDir = "$FindBin::Bin/../doc/sbase"; -#$AuxBinDir = "/usr/lib/linuxdoc-tools"; -$AuxBinDir = "/usr/bin"; - +if (-e "/usr/lib/linuxdoc-tools") +{ + $AuxBinDir = "/usr/lib/linuxdoc-tools"; +} else +{ + $AuxBinDir = "/usr/bin"; +} use lib "$FindBin::Bin/linuxdoc-tools"; # --------------------------------------------------------------------- |