summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xautogen.sh18
1 files changed, 10 insertions, 8 deletions
diff --git a/autogen.sh b/autogen.sh
index be9f2bf4b..c1c693047 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,14 +1,16 @@
1#!/bin/sh 1#!/bin/sh
2 2
3rm -rf autom4te.cache 3rm -rf autom4te.cache
4rm -f aclocal.m4 4rm -f aclocal.m4 ltmain.sh
5 5
6echo "Running aclocal..."; aclocal $ACLOCAL_FLAGS -I m4 \ 6touch README
7&& echo "Running autoheader..."; autoheader \ 7
8&& echo "Running autoconf..."; autoconf \ 8echo "Running aclocal..." ; aclocal $ACLOCAL_FLAGS -I m4 || exit 1
9&& echo "Running libtoolize..."; ( libtoolize --automake || glibtoolize --automake ) \ 9echo "Running autoheader..." ; autoheader || exit 1
10&& echo "Running automake..."; automake --add-missing --copy --gnu \ 10echo "Running autoconf..." ; autoconf || exit 1
11&& echo "Generating gettext enlightenment.pot template"; \ 11echo "Running libtoolize..." ; (libtoolize --copy --automake || glibtoolize --automake) || exit 1
12echo "Running automake..." ; automake --add-missing --copy --gnu || exit 1
13echo "Generating gettext enlightenment.pot template"; \
12xgettext \ 14xgettext \
13-n \ 15-n \
14-C \ 16-C \
@@ -20,7 +22,7 @@ xgettext \
20-k -k_ -kd_ \ 22-k -k_ -kd_ \
21--from-code=UTF-8 \ 23--from-code=UTF-8 \
22-o enlightenment.pot \ 24-o enlightenment.pot \
23`find . -name "*.[ch]" -print` 25`find . -name "*.[ch]" -print` || exit 1
24 26
25if [ -z "$NOCONFIGURE" ]; then 27if [ -z "$NOCONFIGURE" ]; then
26 ./configure "$@" 28 ./configure "$@"