2
0
Fork 0

[autobuild] autogen.sh remove generated files before creating new ones

configure complained that "missing" didn't support something;
it seems autotools fail to update the generated scripts

also cleanup .gitignore
This commit is contained in:
Stefan Bühler 2013-08-18 18:44:24 +02:00
parent ccd512ca57
commit adea78e671
2 changed files with 9 additions and 7 deletions

9
.gitignore vendored
View File

@ -1,19 +1,14 @@
.lock-wscript*
.waf-*/
*build/
ragel.pyc
Makefile.in
Makefile
m4
aclocal.m4
ar-lib
autom4te.cache
compile
config.guess
config.sub
configure
depcomp
install-sh
ltmain.sh
m4
missing
mkinstalldirs
include/lighttpd/config.h.in

View File

@ -17,12 +17,19 @@ ARGV0=$0
set -e
if [ ! -f configure.ac -o ! -f COPYING ]; then
echo "Doesn't look like you're in the source directory" >&2
exit 1
fi
run() {
echo "$ARGV0: running \`$@'"
$@
}
run rm -f aclocal.m4 ar-lib config.guess config.sub configure depcomp instal-sh ltmain.sh missing
run rm -rf m4 autom4te.cache
run $LIBTOOLIZE $LIBTOOLIZE_FLAGS
run $ACLOCAL $ACLOCAL_FLAGS
run $AUTOHEADER