]> git.alsa-project.org Git - alsa-tools.git/commitdiff
gitcompile: return error return code and add GITCOMPILE_NO_MAKE condition
authorJaroslav Kysela <perex@perex.cz>
Tue, 19 Aug 2008 16:51:25 +0000 (18:51 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 19 Aug 2008 16:51:25 +0000 (18:51 +0200)
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
18 files changed:
ac3dec/gitcompile
as10k1/gitcompile
echomixer/gitcompile
envy24control/gitcompile
hdspconf/gitcompile
hdsploader/gitcompile
hdspmixer/gitcompile
ld10k1/gitcompile
mixartloader/gitcompile
pcxhrloader/gitcompile
qlo10k1/gitcompile
rmedigicontrol/gitcompile
sb16_csp/gitcompile
seq/sbiload/gitcompile
sscape_ctl/gitcompile
us428control/gitcompile
usx2yloader/gitcompile
vxloader/gitcompile

index 6c3452b112301881cdec7aeb237ca29a3e5aa4a4..694d5c2548b6819e10b7243ad72962addc74a568 100755 (executable)
@@ -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
index e8a1c456079962ac27f4e858e0e47b0f6f4c8069..2089bd45e58ad31ca2c7097479eb973ed6e06ac0 100755 (executable)
@@ -10,16 +10,18 @@ if test "x$AUTOMAKE_DIR" = "x"; then
 fi
 
 for f in install-sh mkinstalldirs missing; do
-  cp -av $AUTOMAKE_DIR/$f .
+  cp -av $AUTOMAKE_DIR/$f . || exit 1
 done
 
-aclocal $ACLOCAL_FLAGS
-automake --foreign --add-missing --copy
-touch depcomp
-autoconf
+aclocal $ACLOCAL_FLAGS || exit 1
+automake --foreign --add-missing --copy || exit 1
+touch depcomp || exit 1
+autoconf || exit 1
 export CFLAGS='-O2 -Wall -pipe -g'
 echo "CFLAGS=$CFLAGS"
 echo "./configure $@"
-./configure $@
+./configure $@ || exit 1
 unset CFLAGS
-make
+if [ -z "$GITCOMPILE_NO_MAKE" ]; then
+  make || exit 1
+fi
index 3a5537d5431ef0320d08f49fb0cf272a1fc0fd47..018227793c7183a3ae480cf31e3fb4b9b08d0e3e 100755 (executable)
@@ -10,16 +10,18 @@ if test "x$AUTOMAKE_DIR" = "x"; then
 fi
 
 for f in install-sh mkinstalldirs missing; do
-  cp -av $AUTOMAKE_DIR/$f .
+  cp -av $AUTOMAKE_DIR/$f . || exit 1
 done
 
-aclocal $ACLOCAL_FLAGS
-automake --add-missing --copy
-touch depcomp
-autoconf
+aclocal $ACLOCAL_FLAGS || exit 1
+automake --add-missing --copy || exit 1
+touch depcomp || exit 1
+autoconf || exit 1
 export CFLAGS='-O2 -Wall -pipe -g'
 echo "CFLAGS=$CFLAGS"
 echo "./configure $@"
-./configure $@
+./configure $@ || exit 1
 unset CFLAGS
-make
+if [ -z "$GITCOMPILE_NO_MAKE" ]; then
+  make || exit 1
+fi
\ No newline at end of file
index e8a1c456079962ac27f4e858e0e47b0f6f4c8069..2089bd45e58ad31ca2c7097479eb973ed6e06ac0 100755 (executable)
@@ -10,16 +10,18 @@ if test "x$AUTOMAKE_DIR" = "x"; then
 fi
 
 for f in install-sh mkinstalldirs missing; do
-  cp -av $AUTOMAKE_DIR/$f .
+  cp -av $AUTOMAKE_DIR/$f . || exit 1
 done
 
-aclocal $ACLOCAL_FLAGS
-automake --foreign --add-missing --copy
-touch depcomp
-autoconf
+aclocal $ACLOCAL_FLAGS || exit 1
+automake --foreign --add-missing --copy || exit 1
+touch depcomp || exit 1
+autoconf || exit 1
 export CFLAGS='-O2 -Wall -pipe -g'
 echo "CFLAGS=$CFLAGS"
 echo "./configure $@"
-./configure $@
+./configure $@ || exit 1
 unset CFLAGS
-make
+if [ -z "$GITCOMPILE_NO_MAKE" ]; then
+  make || exit 1
+fi
index e8a1c456079962ac27f4e858e0e47b0f6f4c8069..2089bd45e58ad31ca2c7097479eb973ed6e06ac0 100755 (executable)
@@ -10,16 +10,18 @@ if test "x$AUTOMAKE_DIR" = "x"; then
 fi
 
 for f in install-sh mkinstalldirs missing; do
-  cp -av $AUTOMAKE_DIR/$f .
+  cp -av $AUTOMAKE_DIR/$f . || exit 1
 done
 
-aclocal $ACLOCAL_FLAGS
-automake --foreign --add-missing --copy
-touch depcomp
-autoconf
+aclocal $ACLOCAL_FLAGS || exit 1
+automake --foreign --add-missing --copy || exit 1
+touch depcomp || exit 1
+autoconf || exit 1
 export CFLAGS='-O2 -Wall -pipe -g'
 echo "CFLAGS=$CFLAGS"
 echo "./configure $@"
-./configure $@
+./configure $@ || exit 1
 unset CFLAGS
-make
+if [ -z "$GITCOMPILE_NO_MAKE" ]; then
+  make || exit 1
+fi
index 5daa701cdbd4eb5bb0e64159516b3e92b2d40ed5..58328bd3a50e0d2b21b459289b568eff621897e2 100755 (executable)
@@ -1,11 +1,13 @@
 #!/bin/bash
 
-aclocal $ACLOCAL_FLAGS
-automake --foreign --add-missing
-autoconf
+aclocal $ACLOCAL_FLAGS || exit 1
+automake --foreign --add-missing || exit 1
+autoconf || exit 1
 export CFLAGS='-O2 -Wall -pipe -g'
 echo "CFLAGS=$CFLAGS"
 echo "./configure $@"
-./configure $@
+./configure $@ || exit 1
 unset CFLAGS
-make
+if [ -z "$GITCOMPILE_NO_MAKE" ]; then
+  make || exit 1
+fi
index 3a5537d5431ef0320d08f49fb0cf272a1fc0fd47..3a788f6c630ecba2523f006adbd06cf09c0b3c19 100755 (executable)
@@ -10,16 +10,18 @@ if test "x$AUTOMAKE_DIR" = "x"; then
 fi
 
 for f in install-sh mkinstalldirs missing; do
-  cp -av $AUTOMAKE_DIR/$f .
+  cp -av $AUTOMAKE_DIR/$f . || exit 1
 done
 
-aclocal $ACLOCAL_FLAGS
-automake --add-missing --copy
-touch depcomp
-autoconf
+aclocal $ACLOCAL_FLAGS || exit 1
+automake --add-missing --copy || exit 1
+touch depcomp || exit 1
+autoconf || exit 1
 export CFLAGS='-O2 -Wall -pipe -g'
 echo "CFLAGS=$CFLAGS"
 echo "./configure $@"
-./configure $@
+./configure $@ || exit 1
 unset CFLAGS
-make
+if [ -z "$GITCOMPILE_NO_MAKE" ]; then
+  make || exit 1
+fi
index 5ddd1ec5ef56bde7a748b4cb578cfcabc8047cca..99429ac62a04e0b280020d1489fa61485895ab80 100755 (executable)
@@ -1,9 +1,11 @@
 #!/bin/bash
 
-autoreconf -fi
+autoreconf -fi || exit 1
 export CFLAGS='-O2 -Wall -pipe -g'
 echo "CFLAGS=$CFLAGS"
 echo "./configure $@"
-./configure $@
+./configure $@ || exit 1
 unset CFLAGS
-make
+if [ -z "$GITCOMPILE_NO_MAKE" ]; then
+  make || exit 1
+fi
index 5daa701cdbd4eb5bb0e64159516b3e92b2d40ed5..58328bd3a50e0d2b21b459289b568eff621897e2 100755 (executable)
@@ -1,11 +1,13 @@
 #!/bin/bash
 
-aclocal $ACLOCAL_FLAGS
-automake --foreign --add-missing
-autoconf
+aclocal $ACLOCAL_FLAGS || exit 1
+automake --foreign --add-missing || exit 1
+autoconf || exit 1
 export CFLAGS='-O2 -Wall -pipe -g'
 echo "CFLAGS=$CFLAGS"
 echo "./configure $@"
-./configure $@
+./configure $@ || exit 1
 unset CFLAGS
-make
+if [ -z "$GITCOMPILE_NO_MAKE" ]; then
+  make || exit 1
+fi
index 5daa701cdbd4eb5bb0e64159516b3e92b2d40ed5..58328bd3a50e0d2b21b459289b568eff621897e2 100755 (executable)
@@ -1,11 +1,13 @@
 #!/bin/bash
 
-aclocal $ACLOCAL_FLAGS
-automake --foreign --add-missing
-autoconf
+aclocal $ACLOCAL_FLAGS || exit 1
+automake --foreign --add-missing || exit 1
+autoconf || exit 1
 export CFLAGS='-O2 -Wall -pipe -g'
 echo "CFLAGS=$CFLAGS"
 echo "./configure $@"
-./configure $@
+./configure $@ || exit 1
 unset CFLAGS
-make
+if [ -z "$GITCOMPILE_NO_MAKE" ]; then
+  make || exit 1
+fi
index 5ddd1ec5ef56bde7a748b4cb578cfcabc8047cca..99429ac62a04e0b280020d1489fa61485895ab80 100755 (executable)
@@ -1,9 +1,11 @@
 #!/bin/bash
 
-autoreconf -fi
+autoreconf -fi || exit 1
 export CFLAGS='-O2 -Wall -pipe -g'
 echo "CFLAGS=$CFLAGS"
 echo "./configure $@"
-./configure $@
+./configure $@ || exit 1
 unset CFLAGS
-make
+if [ -z "$GITCOMPILE_NO_MAKE" ]; then
+  make || exit 1
+fi
index e8a1c456079962ac27f4e858e0e47b0f6f4c8069..2089bd45e58ad31ca2c7097479eb973ed6e06ac0 100755 (executable)
@@ -10,16 +10,18 @@ if test "x$AUTOMAKE_DIR" = "x"; then
 fi
 
 for f in install-sh mkinstalldirs missing; do
-  cp -av $AUTOMAKE_DIR/$f .
+  cp -av $AUTOMAKE_DIR/$f . || exit 1
 done
 
-aclocal $ACLOCAL_FLAGS
-automake --foreign --add-missing --copy
-touch depcomp
-autoconf
+aclocal $ACLOCAL_FLAGS || exit 1
+automake --foreign --add-missing --copy || exit 1
+touch depcomp || exit 1
+autoconf || exit 1
 export CFLAGS='-O2 -Wall -pipe -g'
 echo "CFLAGS=$CFLAGS"
 echo "./configure $@"
-./configure $@
+./configure $@ || exit 1
 unset CFLAGS
-make
+if [ -z "$GITCOMPILE_NO_MAKE" ]; then
+  make || exit 1
+fi
index e8a1c456079962ac27f4e858e0e47b0f6f4c8069..2089bd45e58ad31ca2c7097479eb973ed6e06ac0 100755 (executable)
@@ -10,16 +10,18 @@ if test "x$AUTOMAKE_DIR" = "x"; then
 fi
 
 for f in install-sh mkinstalldirs missing; do
-  cp -av $AUTOMAKE_DIR/$f .
+  cp -av $AUTOMAKE_DIR/$f . || exit 1
 done
 
-aclocal $ACLOCAL_FLAGS
-automake --foreign --add-missing --copy
-touch depcomp
-autoconf
+aclocal $ACLOCAL_FLAGS || exit 1
+automake --foreign --add-missing --copy || exit 1
+touch depcomp || exit 1
+autoconf || exit 1
 export CFLAGS='-O2 -Wall -pipe -g'
 echo "CFLAGS=$CFLAGS"
 echo "./configure $@"
-./configure $@
+./configure $@ || exit 1
 unset CFLAGS
-make
+if [ -z "$GITCOMPILE_NO_MAKE" ]; then
+  make || exit 1
+fi
index e8a1c456079962ac27f4e858e0e47b0f6f4c8069..2089bd45e58ad31ca2c7097479eb973ed6e06ac0 100755 (executable)
@@ -10,16 +10,18 @@ if test "x$AUTOMAKE_DIR" = "x"; then
 fi
 
 for f in install-sh mkinstalldirs missing; do
-  cp -av $AUTOMAKE_DIR/$f .
+  cp -av $AUTOMAKE_DIR/$f . || exit 1
 done
 
-aclocal $ACLOCAL_FLAGS
-automake --foreign --add-missing --copy
-touch depcomp
-autoconf
+aclocal $ACLOCAL_FLAGS || exit 1
+automake --foreign --add-missing --copy || exit 1
+touch depcomp || exit 1
+autoconf || exit 1
 export CFLAGS='-O2 -Wall -pipe -g'
 echo "CFLAGS=$CFLAGS"
 echo "./configure $@"
-./configure $@
+./configure $@ || exit 1
 unset CFLAGS
-make
+if [ -z "$GITCOMPILE_NO_MAKE" ]; then
+  make || exit 1
+fi
index 01e8151833bc9229d39f8e98315e0a96ed0cd13e..738d4360649d6bd7d64f19ad34765915e4eae0cd 100755 (executable)
@@ -10,15 +10,17 @@ if test "x$AUTOMAKE_DIR" = "x"; then
 fi
 
 for f in install-sh mkinstalldirs missing; do
-  cp -av $AUTOMAKE_DIR/$f .
+  cp -av $AUTOMAKE_DIR/$f . || exit 1
 done
 
-aclocal $ACLOCAL_FLAGS
-automake --foreign --add-missing
-autoconf
+aclocal $ACLOCAL_FLAGS || exit 1
+automake --foreign --add-missing || exit 1
+autoconf || exit 1
 export CFLAGS='-O2 -Wall -pipe -g'
 echo "CFLAGS=$CFLAGS"
 echo "./configure $@"
-./configure $@
+./configure $@ || exit 1
 unset CFLAGS
-make
+if [ -z "$GITCOMPILE_NO_MAKE" ]; then
+  make || exit 1
+fi
index 5daa701cdbd4eb5bb0e64159516b3e92b2d40ed5..58328bd3a50e0d2b21b459289b568eff621897e2 100755 (executable)
@@ -1,11 +1,13 @@
 #!/bin/bash
 
-aclocal $ACLOCAL_FLAGS
-automake --foreign --add-missing
-autoconf
+aclocal $ACLOCAL_FLAGS || exit 1
+automake --foreign --add-missing || exit 1
+autoconf || exit 1
 export CFLAGS='-O2 -Wall -pipe -g'
 echo "CFLAGS=$CFLAGS"
 echo "./configure $@"
-./configure $@
+./configure $@ || exit 1
 unset CFLAGS
-make
+if [ -z "$GITCOMPILE_NO_MAKE" ]; then
+  make || exit 1
+fi
index 5daa701cdbd4eb5bb0e64159516b3e92b2d40ed5..712675051ba98146f65888f2d6f265f006bc9fa7 100755 (executable)
@@ -1,11 +1,13 @@
 #!/bin/bash
 
-aclocal $ACLOCAL_FLAGS
-automake --foreign --add-missing
-autoconf
+aclocal $ACLOCAL_FLAGS || exit 1
+automake --foreign --add-missing || exit 1
+autoconf || exit 1
 export CFLAGS='-O2 -Wall -pipe -g'
 echo "CFLAGS=$CFLAGS"
 echo "./configure $@"
-./configure $@
+./configure $@ || exit 1
 unset CFLAGS
-make
+if [ -z "$GITCOMPILE_NO_MAKE" ]; then
+  make || exit 1
+fi
\ No newline at end of file
index 5daa701cdbd4eb5bb0e64159516b3e92b2d40ed5..58328bd3a50e0d2b21b459289b568eff621897e2 100755 (executable)
@@ -1,11 +1,13 @@
 #!/bin/bash
 
-aclocal $ACLOCAL_FLAGS
-automake --foreign --add-missing
-autoconf
+aclocal $ACLOCAL_FLAGS || exit 1
+automake --foreign --add-missing || exit 1
+autoconf || exit 1
 export CFLAGS='-O2 -Wall -pipe -g'
 echo "CFLAGS=$CFLAGS"
 echo "./configure $@"
-./configure $@
+./configure $@ || exit 1
 unset CFLAGS
-make
+if [ -z "$GITCOMPILE_NO_MAKE" ]; then
+  make || exit 1
+fi