summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtools/gendist4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/gendist b/tools/gendist
index ce7dbe4..80def5c 100755
--- a/tools/gendist
+++ b/tools/gendist
@@ -5,7 +5,9 @@
#
set -e
-[ -f Makefile ] && make distclean
+autoconf
+./configure
+make distclean
autoconf
( cd doc ; make docs ; make clean )
VERSION=`sed <sysdep/config.h '/BIRD_VERSION/!d;s/^.*"\(.*\)"$/\1/'`