summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2022-03-02 10:38:15 +0100
committerOndrej Filip <feela@network.cz>2022-03-02 10:38:15 +0100
commit7404a215806972fb5e7205aaa99a3ff7b00ede16 (patch)
treebf3500f577f61277e66dcef75ec5b2cbac976560 /tools
parent935c066402d56d9b01ae41527c2e760d189b01f9 (diff)
Minor doc and gendist changes3.0-alpha0
Diffstat (limited to 'tools')
-rwxr-xr-xtools/gendist3
-rwxr-xr-xtools/linuxdoc9
2 files changed, 8 insertions, 4 deletions
diff --git a/tools/gendist b/tools/gendist
index 2ac59030..2dc42ba9 100755
--- a/tools/gendist
+++ b/tools/gendist
@@ -2,6 +2,7 @@
#
# Generate BIRD Distribution Archive
# (c) 2000--2004 Martin Mares <mj@ucw.cz>
+# (c) 2005--2022 Ondrej Filip <feela@network.cz>
#
VERSION=`grep 'BIRD_VERSION \"' sysdep/config.h | sed '/BIRD_VERSION/!d;s/^.*"\(.*\)"$/\1/'`
@@ -33,8 +34,6 @@ rm -rf `find $T/$REL -name CVS -o -name tmp` $T/$REL/{misc,rfc,doc/slides,doc/sl
rm -rf $T/$REL $T/$DREL
echo -n "OK? "
read OK
-echo Uploading to Atrey...
-scp $T/$REL.tar.gz $T/$DREL.tar.gz atrey.karlin.mff.cuni.cz:~ftp/pub/bird/
echo Uploading to Trubka...
scp $T/$REL.tar.gz $T/$DREL.tar.gz bird.network.cz:~ftp/pub/bird/
echo Done.
diff --git a/tools/linuxdoc b/tools/linuxdoc
index 51110e79..58f5cbc4 100755
--- a/tools/linuxdoc
+++ b/tools/linuxdoc
@@ -25,8 +25,13 @@ use FindBin;
$prefix = "/usr";
$isoentities_prefix = "/usr";
$DataDir = "$FindBin::Bin/../doc/sbase";
-$AuxBinDir = "/usr/lib/linuxdoc-tools";
-
+if (-d "/usr/lib/linuxdoc-tools")
+{
+ $AuxBinDir = "/usr/lib/linuxdoc-tools";
+} else
+{
+ $AuxBinDir = "/usr/bin";
+}
use lib "$FindBin::Bin/linuxdoc-tools";
# ---------------------------------------------------------------------