Automatically rerun autogen.sh if configure.in is modified.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9971 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Olly Betts 2007-10-09 20:07:26 +00:00
commit 611e41e04b
2 changed files with 11 additions and 5 deletions

View file

@ -1,6 +1,9 @@
Version 1.3.32 (in progress)
============================
10/09/2007: olly
Automatically rerun autogen.sh if configure.in is modified.
10/09/2007: olly
Enhance check-%-test-suite rule and friends to give a more helpful
error message if you try them for a language which doesn't exist

View file

@ -508,10 +508,13 @@ configfiles:
Makefile: $(srcdir)/Makefile.in config.status
$(SHELL) ./config.status
# This target is usually called from Source/Makefile when configure.in has changed
am--refresh:
@echo "Build system is out of date. Please reconfigure (rerun: ./autogen.sh && ./configure)"
@exit 1
# This target is usually called from Source/Makefile when configure.in has
# changed.
am--refresh: $(srcdir)/configure
$(srcdir)/configure: $(srcdir)/configure.in
@echo "Build system is out of date. If the following commands fail, please reconfigure by hand (rerun: ./autogen.sh && ./configure)"
$(srcdir)/autogen.sh
$(SHELL) ./config.status --recheck
# Makefile ends here