tarina

git clone https://git.tarina.org/tarina
Log | Files | Refs | README | LICENSE

gitcompile (705B)


      1 #!/bin/bash
      2 
      3 if test -d ../alsa-lib/utils && ! test -r `aclocal --print-ac-dir`/alsa.m4; then
      4   alsa_m4_flags="-I ../alsa-lib/utils"
      5 fi
      6 aclocal $alsa_m4_flags $ACLOCAL_FLAGS
      7 # save original files to avoid stupid modifications by gettextize
      8 cp Makefile.am Makefile.am.ok
      9 cp configure.ac configure.ac.ok
     10 gettextize -c -f --no-changelog
     11 echo "EXTRA_DIST = gettext.m4" > m4/Makefile.am
     12 cp Makefile.am.ok Makefile.am
     13 cp configure.ac.ok configure.ac
     14 autoheader
     15 automake --foreign --copy --add-missing
     16 touch depcomp		# for older automake
     17 autoconf
     18 export CFLAGS='-O2 -Wall -pipe -g'
     19 echo "CFLAGS=$CFLAGS"
     20 echo "./configure $@"
     21 ./configure $@ || exit 1
     22 unset CFLAGS
     23 if [ -z "$GITCOMPILE_NO_MAKE" ]; then
     24   make
     25 fi