removed .hg files and renamed hgcompile to gitcompile

This commit is contained in:
Jaroslav Kysela 2008-05-20 13:29:44 +02:00
parent 8aaccc9484
commit fd61794399
3 changed files with 1 additions and 45 deletions

19
gitcompile Executable file
View file

@ -0,0 +1,19 @@
#!/bin/bash
set -e
touch ltconfig
libtoolize --force --copy --automake
aclocal $ACLOCAL_FLAGS
autoheader
automake --foreign --copy --add-missing
touch depcomp # seems to be missing for old automake
autoconf
export CFLAGS='-O2 -Wall -W -pipe -g'
echo "CFLAGS=$CFLAGS"
echo "./configure $@"
./configure $@ || exit 1
unset CFLAGS
if [ -z "$GITCOMPILE_NO_MAKE" ]; then
make
fi