gitcompile: return error return code and add GITCOMPILE_NO_MAKE condition

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
Jaroslav Kysela 2008-08-19 18:51:25 +02:00
parent f2bddc6656
commit 880926b3cd
18 changed files with 141 additions and 105 deletions

View file

@ -1,9 +1,11 @@
#!/bin/sh
aclocal $ACLOCAL_FLAGS
autoheader
automake --add-missing --copy --foreign
touch depcomp
autoconf
./configure $*
make
aclocal $ACLOCAL_FLAGS || exit 1
autoheader || exit 1
automake --add-missing --copy --foreign || exit 1
touch depcomp || exit 1
autoconf || exit 1
./configure $* || exit 1
if [ -z "$GITCOMPILE_NO_MAKE" ]; then
make || exit 1
fi