summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2022-02-20 15:30:47 +0100
committerOndrej Filip <feela@network.cz>2022-02-20 15:30:47 +0100
commiteb859a3fb063b261fb76304e5b8eca206e7a162a (patch)
treeb0698d66477143eea99a35c3e93c45d92c005cf6 /tools
parent9b13fa4d9c3cd8894f61ed84a38ef3c69fe4fe6f (diff)
Small change to fix doc building on Debianv2.0.9
Diffstat (limited to 'tools')
-rwxr-xr-xtools/linuxdoc10
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";
# ---------------------------------------------------------------------