Add hgcompile script and fix INSTALL document

Added hgcompile script (just a copy of cvscompile), and
fixed INSTALL document about HG.
This commit is contained in:
Takashi Iwai 2006-05-12 15:33:44 +02:00
parent ffebf01d61
commit 8a347e4267
3 changed files with 22 additions and 5 deletions

17
hgcompile Executable file
View file

@ -0,0 +1,17 @@
#!/bin/bash
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 "$HGCOMPILE_NO_MAKE" ]; then
make
fi