alsa-tools/hwmixvolume/gitcompile
Jaroslav Kysela 32527a5930 Fix hwmixvolume gitcompile script (missing files)
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2010-04-07 09:30:00 +02:00

26 lines
630 B
Bash
Executable file

#!/bin/bash
if test -z "$AUTOMAKE_DIR" ; then
if test -d /usr/local/share/automake; then
AUTOMAKE_DIR=/usr/local/share/automake
fi
if test -d /usr/share/automake; then
AUTOMAKE_DIR="/usr/share/automake"
fi
if test -z "$AUTOMAKE_DIR" ; then
AUTOMAKE_DIR=/usr/share/`ls /usr/share | grep automake | tail -n 1`
fi
fi
for f in install-sh mkinstalldirs missing; do
cp -av $AUTOMAKE_DIR/$f . || exit 1
done
aclocal $ACLOCAL_FLAGS || exit 1
automake --foreign --add-missing || exit 1
autoconf || exit 1
echo "./configure $@"
./configure $@ || exit 1
if [ -z "$GITCOMPILE_NO_MAKE" ]; then
make || exit 1
fi