mirror of
https://github.com/alsa-project/alsa-tools.git
synced 2026-02-23 01:40:13 -05:00
gitcompile: return error return code and add GITCOMPILE_NO_MAKE condition
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
f2bddc6656
commit
880926b3cd
18 changed files with 141 additions and 105 deletions
|
|
@ -1,9 +1,11 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
aclocal $ACLOCAL_FLAGS
|
aclocal $ACLOCAL_FLAGS || exit 1
|
||||||
autoheader
|
autoheader || exit 1
|
||||||
automake --add-missing --copy --foreign
|
automake --add-missing --copy --foreign || exit 1
|
||||||
touch depcomp
|
touch depcomp || exit 1
|
||||||
autoconf
|
autoconf || exit 1
|
||||||
./configure $*
|
./configure $* || exit 1
|
||||||
make
|
if [ -z "$GITCOMPILE_NO_MAKE" ]; then
|
||||||
|
make || exit 1
|
||||||
|
fi
|
||||||
|
|
|
||||||
|
|
@ -10,16 +10,18 @@ if test "x$AUTOMAKE_DIR" = "x"; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for f in install-sh mkinstalldirs missing; do
|
for f in install-sh mkinstalldirs missing; do
|
||||||
cp -av $AUTOMAKE_DIR/$f .
|
cp -av $AUTOMAKE_DIR/$f . || exit 1
|
||||||
done
|
done
|
||||||
|
|
||||||
aclocal $ACLOCAL_FLAGS
|
aclocal $ACLOCAL_FLAGS || exit 1
|
||||||
automake --foreign --add-missing --copy
|
automake --foreign --add-missing --copy || exit 1
|
||||||
touch depcomp
|
touch depcomp || exit 1
|
||||||
autoconf
|
autoconf || exit 1
|
||||||
export CFLAGS='-O2 -Wall -pipe -g'
|
export CFLAGS='-O2 -Wall -pipe -g'
|
||||||
echo "CFLAGS=$CFLAGS"
|
echo "CFLAGS=$CFLAGS"
|
||||||
echo "./configure $@"
|
echo "./configure $@"
|
||||||
./configure $@
|
./configure $@ || exit 1
|
||||||
unset CFLAGS
|
unset CFLAGS
|
||||||
make
|
if [ -z "$GITCOMPILE_NO_MAKE" ]; then
|
||||||
|
make || exit 1
|
||||||
|
fi
|
||||||
|
|
|
||||||
|
|
@ -10,16 +10,18 @@ if test "x$AUTOMAKE_DIR" = "x"; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for f in install-sh mkinstalldirs missing; do
|
for f in install-sh mkinstalldirs missing; do
|
||||||
cp -av $AUTOMAKE_DIR/$f .
|
cp -av $AUTOMAKE_DIR/$f . || exit 1
|
||||||
done
|
done
|
||||||
|
|
||||||
aclocal $ACLOCAL_FLAGS
|
aclocal $ACLOCAL_FLAGS || exit 1
|
||||||
automake --add-missing --copy
|
automake --add-missing --copy || exit 1
|
||||||
touch depcomp
|
touch depcomp || exit 1
|
||||||
autoconf
|
autoconf || exit 1
|
||||||
export CFLAGS='-O2 -Wall -pipe -g'
|
export CFLAGS='-O2 -Wall -pipe -g'
|
||||||
echo "CFLAGS=$CFLAGS"
|
echo "CFLAGS=$CFLAGS"
|
||||||
echo "./configure $@"
|
echo "./configure $@"
|
||||||
./configure $@
|
./configure $@ || exit 1
|
||||||
unset CFLAGS
|
unset CFLAGS
|
||||||
make
|
if [ -z "$GITCOMPILE_NO_MAKE" ]; then
|
||||||
|
make || exit 1
|
||||||
|
fi
|
||||||
|
|
@ -10,16 +10,18 @@ if test "x$AUTOMAKE_DIR" = "x"; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for f in install-sh mkinstalldirs missing; do
|
for f in install-sh mkinstalldirs missing; do
|
||||||
cp -av $AUTOMAKE_DIR/$f .
|
cp -av $AUTOMAKE_DIR/$f . || exit 1
|
||||||
done
|
done
|
||||||
|
|
||||||
aclocal $ACLOCAL_FLAGS
|
aclocal $ACLOCAL_FLAGS || exit 1
|
||||||
automake --foreign --add-missing --copy
|
automake --foreign --add-missing --copy || exit 1
|
||||||
touch depcomp
|
touch depcomp || exit 1
|
||||||
autoconf
|
autoconf || exit 1
|
||||||
export CFLAGS='-O2 -Wall -pipe -g'
|
export CFLAGS='-O2 -Wall -pipe -g'
|
||||||
echo "CFLAGS=$CFLAGS"
|
echo "CFLAGS=$CFLAGS"
|
||||||
echo "./configure $@"
|
echo "./configure $@"
|
||||||
./configure $@
|
./configure $@ || exit 1
|
||||||
unset CFLAGS
|
unset CFLAGS
|
||||||
make
|
if [ -z "$GITCOMPILE_NO_MAKE" ]; then
|
||||||
|
make || exit 1
|
||||||
|
fi
|
||||||
|
|
|
||||||
|
|
@ -10,16 +10,18 @@ if test "x$AUTOMAKE_DIR" = "x"; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for f in install-sh mkinstalldirs missing; do
|
for f in install-sh mkinstalldirs missing; do
|
||||||
cp -av $AUTOMAKE_DIR/$f .
|
cp -av $AUTOMAKE_DIR/$f . || exit 1
|
||||||
done
|
done
|
||||||
|
|
||||||
aclocal $ACLOCAL_FLAGS
|
aclocal $ACLOCAL_FLAGS || exit 1
|
||||||
automake --foreign --add-missing --copy
|
automake --foreign --add-missing --copy || exit 1
|
||||||
touch depcomp
|
touch depcomp || exit 1
|
||||||
autoconf
|
autoconf || exit 1
|
||||||
export CFLAGS='-O2 -Wall -pipe -g'
|
export CFLAGS='-O2 -Wall -pipe -g'
|
||||||
echo "CFLAGS=$CFLAGS"
|
echo "CFLAGS=$CFLAGS"
|
||||||
echo "./configure $@"
|
echo "./configure $@"
|
||||||
./configure $@
|
./configure $@ || exit 1
|
||||||
unset CFLAGS
|
unset CFLAGS
|
||||||
make
|
if [ -z "$GITCOMPILE_NO_MAKE" ]; then
|
||||||
|
make || exit 1
|
||||||
|
fi
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
aclocal $ACLOCAL_FLAGS
|
aclocal $ACLOCAL_FLAGS || exit 1
|
||||||
automake --foreign --add-missing
|
automake --foreign --add-missing || exit 1
|
||||||
autoconf
|
autoconf || exit 1
|
||||||
export CFLAGS='-O2 -Wall -pipe -g'
|
export CFLAGS='-O2 -Wall -pipe -g'
|
||||||
echo "CFLAGS=$CFLAGS"
|
echo "CFLAGS=$CFLAGS"
|
||||||
echo "./configure $@"
|
echo "./configure $@"
|
||||||
./configure $@
|
./configure $@ || exit 1
|
||||||
unset CFLAGS
|
unset CFLAGS
|
||||||
make
|
if [ -z "$GITCOMPILE_NO_MAKE" ]; then
|
||||||
|
make || exit 1
|
||||||
|
fi
|
||||||
|
|
|
||||||
|
|
@ -10,16 +10,18 @@ if test "x$AUTOMAKE_DIR" = "x"; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for f in install-sh mkinstalldirs missing; do
|
for f in install-sh mkinstalldirs missing; do
|
||||||
cp -av $AUTOMAKE_DIR/$f .
|
cp -av $AUTOMAKE_DIR/$f . || exit 1
|
||||||
done
|
done
|
||||||
|
|
||||||
aclocal $ACLOCAL_FLAGS
|
aclocal $ACLOCAL_FLAGS || exit 1
|
||||||
automake --add-missing --copy
|
automake --add-missing --copy || exit 1
|
||||||
touch depcomp
|
touch depcomp || exit 1
|
||||||
autoconf
|
autoconf || exit 1
|
||||||
export CFLAGS='-O2 -Wall -pipe -g'
|
export CFLAGS='-O2 -Wall -pipe -g'
|
||||||
echo "CFLAGS=$CFLAGS"
|
echo "CFLAGS=$CFLAGS"
|
||||||
echo "./configure $@"
|
echo "./configure $@"
|
||||||
./configure $@
|
./configure $@ || exit 1
|
||||||
unset CFLAGS
|
unset CFLAGS
|
||||||
make
|
if [ -z "$GITCOMPILE_NO_MAKE" ]; then
|
||||||
|
make || exit 1
|
||||||
|
fi
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,11 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
autoreconf -fi
|
autoreconf -fi || exit 1
|
||||||
export CFLAGS='-O2 -Wall -pipe -g'
|
export CFLAGS='-O2 -Wall -pipe -g'
|
||||||
echo "CFLAGS=$CFLAGS"
|
echo "CFLAGS=$CFLAGS"
|
||||||
echo "./configure $@"
|
echo "./configure $@"
|
||||||
./configure $@
|
./configure $@ || exit 1
|
||||||
unset CFLAGS
|
unset CFLAGS
|
||||||
make
|
if [ -z "$GITCOMPILE_NO_MAKE" ]; then
|
||||||
|
make || exit 1
|
||||||
|
fi
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
aclocal $ACLOCAL_FLAGS
|
aclocal $ACLOCAL_FLAGS || exit 1
|
||||||
automake --foreign --add-missing
|
automake --foreign --add-missing || exit 1
|
||||||
autoconf
|
autoconf || exit 1
|
||||||
export CFLAGS='-O2 -Wall -pipe -g'
|
export CFLAGS='-O2 -Wall -pipe -g'
|
||||||
echo "CFLAGS=$CFLAGS"
|
echo "CFLAGS=$CFLAGS"
|
||||||
echo "./configure $@"
|
echo "./configure $@"
|
||||||
./configure $@
|
./configure $@ || exit 1
|
||||||
unset CFLAGS
|
unset CFLAGS
|
||||||
make
|
if [ -z "$GITCOMPILE_NO_MAKE" ]; then
|
||||||
|
make || exit 1
|
||||||
|
fi
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
aclocal $ACLOCAL_FLAGS
|
aclocal $ACLOCAL_FLAGS || exit 1
|
||||||
automake --foreign --add-missing
|
automake --foreign --add-missing || exit 1
|
||||||
autoconf
|
autoconf || exit 1
|
||||||
export CFLAGS='-O2 -Wall -pipe -g'
|
export CFLAGS='-O2 -Wall -pipe -g'
|
||||||
echo "CFLAGS=$CFLAGS"
|
echo "CFLAGS=$CFLAGS"
|
||||||
echo "./configure $@"
|
echo "./configure $@"
|
||||||
./configure $@
|
./configure $@ || exit 1
|
||||||
unset CFLAGS
|
unset CFLAGS
|
||||||
make
|
if [ -z "$GITCOMPILE_NO_MAKE" ]; then
|
||||||
|
make || exit 1
|
||||||
|
fi
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,11 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
autoreconf -fi
|
autoreconf -fi || exit 1
|
||||||
export CFLAGS='-O2 -Wall -pipe -g'
|
export CFLAGS='-O2 -Wall -pipe -g'
|
||||||
echo "CFLAGS=$CFLAGS"
|
echo "CFLAGS=$CFLAGS"
|
||||||
echo "./configure $@"
|
echo "./configure $@"
|
||||||
./configure $@
|
./configure $@ || exit 1
|
||||||
unset CFLAGS
|
unset CFLAGS
|
||||||
make
|
if [ -z "$GITCOMPILE_NO_MAKE" ]; then
|
||||||
|
make || exit 1
|
||||||
|
fi
|
||||||
|
|
|
||||||
|
|
@ -10,16 +10,18 @@ if test "x$AUTOMAKE_DIR" = "x"; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for f in install-sh mkinstalldirs missing; do
|
for f in install-sh mkinstalldirs missing; do
|
||||||
cp -av $AUTOMAKE_DIR/$f .
|
cp -av $AUTOMAKE_DIR/$f . || exit 1
|
||||||
done
|
done
|
||||||
|
|
||||||
aclocal $ACLOCAL_FLAGS
|
aclocal $ACLOCAL_FLAGS || exit 1
|
||||||
automake --foreign --add-missing --copy
|
automake --foreign --add-missing --copy || exit 1
|
||||||
touch depcomp
|
touch depcomp || exit 1
|
||||||
autoconf
|
autoconf || exit 1
|
||||||
export CFLAGS='-O2 -Wall -pipe -g'
|
export CFLAGS='-O2 -Wall -pipe -g'
|
||||||
echo "CFLAGS=$CFLAGS"
|
echo "CFLAGS=$CFLAGS"
|
||||||
echo "./configure $@"
|
echo "./configure $@"
|
||||||
./configure $@
|
./configure $@ || exit 1
|
||||||
unset CFLAGS
|
unset CFLAGS
|
||||||
make
|
if [ -z "$GITCOMPILE_NO_MAKE" ]; then
|
||||||
|
make || exit 1
|
||||||
|
fi
|
||||||
|
|
|
||||||
|
|
@ -10,16 +10,18 @@ if test "x$AUTOMAKE_DIR" = "x"; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for f in install-sh mkinstalldirs missing; do
|
for f in install-sh mkinstalldirs missing; do
|
||||||
cp -av $AUTOMAKE_DIR/$f .
|
cp -av $AUTOMAKE_DIR/$f . || exit 1
|
||||||
done
|
done
|
||||||
|
|
||||||
aclocal $ACLOCAL_FLAGS
|
aclocal $ACLOCAL_FLAGS || exit 1
|
||||||
automake --foreign --add-missing --copy
|
automake --foreign --add-missing --copy || exit 1
|
||||||
touch depcomp
|
touch depcomp || exit 1
|
||||||
autoconf
|
autoconf || exit 1
|
||||||
export CFLAGS='-O2 -Wall -pipe -g'
|
export CFLAGS='-O2 -Wall -pipe -g'
|
||||||
echo "CFLAGS=$CFLAGS"
|
echo "CFLAGS=$CFLAGS"
|
||||||
echo "./configure $@"
|
echo "./configure $@"
|
||||||
./configure $@
|
./configure $@ || exit 1
|
||||||
unset CFLAGS
|
unset CFLAGS
|
||||||
make
|
if [ -z "$GITCOMPILE_NO_MAKE" ]; then
|
||||||
|
make || exit 1
|
||||||
|
fi
|
||||||
|
|
|
||||||
|
|
@ -10,16 +10,18 @@ if test "x$AUTOMAKE_DIR" = "x"; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for f in install-sh mkinstalldirs missing; do
|
for f in install-sh mkinstalldirs missing; do
|
||||||
cp -av $AUTOMAKE_DIR/$f .
|
cp -av $AUTOMAKE_DIR/$f . || exit 1
|
||||||
done
|
done
|
||||||
|
|
||||||
aclocal $ACLOCAL_FLAGS
|
aclocal $ACLOCAL_FLAGS || exit 1
|
||||||
automake --foreign --add-missing --copy
|
automake --foreign --add-missing --copy || exit 1
|
||||||
touch depcomp
|
touch depcomp || exit 1
|
||||||
autoconf
|
autoconf || exit 1
|
||||||
export CFLAGS='-O2 -Wall -pipe -g'
|
export CFLAGS='-O2 -Wall -pipe -g'
|
||||||
echo "CFLAGS=$CFLAGS"
|
echo "CFLAGS=$CFLAGS"
|
||||||
echo "./configure $@"
|
echo "./configure $@"
|
||||||
./configure $@
|
./configure $@ || exit 1
|
||||||
unset CFLAGS
|
unset CFLAGS
|
||||||
make
|
if [ -z "$GITCOMPILE_NO_MAKE" ]; then
|
||||||
|
make || exit 1
|
||||||
|
fi
|
||||||
|
|
|
||||||
|
|
@ -10,15 +10,17 @@ if test "x$AUTOMAKE_DIR" = "x"; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for f in install-sh mkinstalldirs missing; do
|
for f in install-sh mkinstalldirs missing; do
|
||||||
cp -av $AUTOMAKE_DIR/$f .
|
cp -av $AUTOMAKE_DIR/$f . || exit 1
|
||||||
done
|
done
|
||||||
|
|
||||||
aclocal $ACLOCAL_FLAGS
|
aclocal $ACLOCAL_FLAGS || exit 1
|
||||||
automake --foreign --add-missing
|
automake --foreign --add-missing || exit 1
|
||||||
autoconf
|
autoconf || exit 1
|
||||||
export CFLAGS='-O2 -Wall -pipe -g'
|
export CFLAGS='-O2 -Wall -pipe -g'
|
||||||
echo "CFLAGS=$CFLAGS"
|
echo "CFLAGS=$CFLAGS"
|
||||||
echo "./configure $@"
|
echo "./configure $@"
|
||||||
./configure $@
|
./configure $@ || exit 1
|
||||||
unset CFLAGS
|
unset CFLAGS
|
||||||
make
|
if [ -z "$GITCOMPILE_NO_MAKE" ]; then
|
||||||
|
make || exit 1
|
||||||
|
fi
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
aclocal $ACLOCAL_FLAGS
|
aclocal $ACLOCAL_FLAGS || exit 1
|
||||||
automake --foreign --add-missing
|
automake --foreign --add-missing || exit 1
|
||||||
autoconf
|
autoconf || exit 1
|
||||||
export CFLAGS='-O2 -Wall -pipe -g'
|
export CFLAGS='-O2 -Wall -pipe -g'
|
||||||
echo "CFLAGS=$CFLAGS"
|
echo "CFLAGS=$CFLAGS"
|
||||||
echo "./configure $@"
|
echo "./configure $@"
|
||||||
./configure $@
|
./configure $@ || exit 1
|
||||||
unset CFLAGS
|
unset CFLAGS
|
||||||
make
|
if [ -z "$GITCOMPILE_NO_MAKE" ]; then
|
||||||
|
make || exit 1
|
||||||
|
fi
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
aclocal $ACLOCAL_FLAGS
|
aclocal $ACLOCAL_FLAGS || exit 1
|
||||||
automake --foreign --add-missing
|
automake --foreign --add-missing || exit 1
|
||||||
autoconf
|
autoconf || exit 1
|
||||||
export CFLAGS='-O2 -Wall -pipe -g'
|
export CFLAGS='-O2 -Wall -pipe -g'
|
||||||
echo "CFLAGS=$CFLAGS"
|
echo "CFLAGS=$CFLAGS"
|
||||||
echo "./configure $@"
|
echo "./configure $@"
|
||||||
./configure $@
|
./configure $@ || exit 1
|
||||||
unset CFLAGS
|
unset CFLAGS
|
||||||
make
|
if [ -z "$GITCOMPILE_NO_MAKE" ]; then
|
||||||
|
make || exit 1
|
||||||
|
fi
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
aclocal $ACLOCAL_FLAGS
|
aclocal $ACLOCAL_FLAGS || exit 1
|
||||||
automake --foreign --add-missing
|
automake --foreign --add-missing || exit 1
|
||||||
autoconf
|
autoconf || exit 1
|
||||||
export CFLAGS='-O2 -Wall -pipe -g'
|
export CFLAGS='-O2 -Wall -pipe -g'
|
||||||
echo "CFLAGS=$CFLAGS"
|
echo "CFLAGS=$CFLAGS"
|
||||||
echo "./configure $@"
|
echo "./configure $@"
|
||||||
./configure $@
|
./configure $@ || exit 1
|
||||||
unset CFLAGS
|
unset CFLAGS
|
||||||
make
|
if [ -z "$GITCOMPILE_NO_MAKE" ]; then
|
||||||
|
make || exit 1
|
||||||
|
fi
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue