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
|
#! /bin/sh
echo "Deleting all autogenerated stuff..."
rm -f *.o *.so config.sub config.guess config.cache
rm -f config.log config.h config.status config.h.in
rm -f Makefile configure builtin/*.o pgcrypto.sql
rm -f Makefile.in aclocal.m4 confdefs.h ltconfig ltmain.sh
rm -f install-sh mkinstalldirs missing stamp*
rm -f interdiff filterdiff combinediff
rm -f compile depcomp
rm -f *~
rm -rf autom4te-2.53.cache
# add files 'config.guess', 'config.sub', 'ltconfig', 'ltmain.sh'
#libtoolize --automake --force || exit 1
# generate 'aclocal.m4', and use our macros in ./m4
aclocal || exit 1
autoheader || exit 1
# generate Makefile.in's from Makefile.am's
automake --add-missing || exit 1
# generate configure from configure.in
autoconf || exit 1
echo "Now run ./configure"
#./configure "$@" || exit 1
#make
|