summaryrefslogtreecommitdiff
path: root/tools/gendist
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-06-09 06:46:58 +0000
committerMartin Mares <mj@ucw.cz>2000-06-09 06:46:58 +0000
commit4386360bd9f71b159497ac3b671b4e3d117a6b73 (patch)
tree42d10b7c2c2fcf7f438b93b51ab6dccb8541239e /tools/gendist
parent2d176ac5d22b08c25ac277821e3daef3a6f2ae23 (diff)
Before building distribution tarballs, make distclean first.
Diffstat (limited to 'tools/gendist')
-rwxr-xr-xtools/gendist4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/gendist b/tools/gendist
index ce7dbe44..80def5ca 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/'`