]> git.alsa-project.org Git - tinycompress.git/commitdiff
add gitcompile
authorJaroslav Kysela <perex@perex.cz>
Tue, 27 Oct 2015 11:02:09 +0000 (12:02 +0100)
committerJaroslav Kysela <perex@perex.cz>
Tue, 27 Oct 2015 11:02:09 +0000 (12:02 +0100)
gitcompile [new file with mode: 0755]

diff --git a/gitcompile b/gitcompile
new file mode 100755 (executable)
index 0000000..d4c3bcf
--- /dev/null
@@ -0,0 +1,17 @@
+#!/bin/bash
+
+libtoolize --force --copy --automake
+aclocal $alsa_m4_flags $ACLOCAL_FLAGS
+# save original files to avoid stupid modifications by gettextize
+autoheader
+automake --foreign --copy --add-missing
+touch depcomp          # for older automake
+autoconf
+export CFLAGS='-O2 -Wall -pipe -g'
+echo "CFLAGS=$CFLAGS"
+echo "./configure $@"
+./configure $@ || exit 1
+unset CFLAGS
+if [ -z "$GITCOMPILE_NO_MAKE" ]; then
+  make
+fi