From: Jaroslav Kysela Date: Wed, 7 Apr 2010 07:30:00 +0000 (+0200) Subject: Fix hwmixvolume gitcompile script (missing files) X-Git-Tag: v1.0.23~2 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=32527a59307640fc5251becc726eb0da7d34f9c8;p=alsa-tools.git Fix hwmixvolume gitcompile script (missing files) Signed-off-by: Jaroslav Kysela --- diff --git a/hwmixvolume/gitcompile b/hwmixvolume/gitcompile index 46977b7..a4d38f4 100755 --- a/hwmixvolume/gitcompile +++ b/hwmixvolume/gitcompile @@ -1,5 +1,21 @@ #!/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