summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKim Woelders <kim@woelders.dk>2018-08-12 16:21:37 +0200
committerKim Woelders <kim@woelders.dk>2018-08-12 16:35:30 +0200
commita285bafa79489211c2454fa0f45caffaf4b00066 (patch)
tree9bc9d2c41f1e1dca9109a20656714cc35e54535c
parenta6b184adb61c815161e8d632b51577fbe8d0660f (diff)
Simplify autogen.sh
-rwxr-xr-xautogen.sh11
1 files changed, 3 insertions, 8 deletions
diff --git a/autogen.sh b/autogen.sh
index 9303a21..0d43361 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,14 +1,9 @@
1#!/bin/sh 1#!/bin/sh
2# Run this to generate all the initial makefiles, etc.
2 3
3rm -rf autom4te.cache 4rm -rf autom4te.cache aclocal.m4
4rm -f aclocal.m4 ltmain.sh
5 5
6touch README 6autoreconf -vif
7
8echo "Running aclocal..." ; aclocal $ACLOCAL_FLAGS || exit 1
9echo "Running autoheader..." ; autoheader || exit 1
10echo "Running autoconf..." ; autoconf || exit 1
11echo "Running automake..." ; automake --add-missing --copy --gnu || exit 1
12 7
13if [ -z "$NOCONFIGURE" ]; then 8if [ -z "$NOCONFIGURE" ]; then
14 ./configure "$@" 9 ./configure "$@"