1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
|
#!/bin/sh
if [ -f Makefile ]; then
echo "make distclean"
make distclean
fi
rm -rf aclocal.m4 autom4te.cache config.h configure depcomp
rm -rf install-sh Makefile.in missing mkinstalldirs
echo "aclocal"
aclocal
if [ $? != 0 ]; then
echo "aclocal failed"
exit 1
fi
echo "autoheader"
autoheader
if [ $? != 0 ]; then
echo "autoheader failed"
exit 1
fi
echo "automake -a -c -f"
automake -a -c -f
if [ $? != 0 ]; then
echo "automake failed"
exit 1
fi
echo "autoconf"
autoconf
if [ $? != 0 ]; then
echo "autoconf failed"
exit 1
fi
if [ -x ./configure ]; then
echo "Running configure"
./configure
fi
|