aboutsummaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorOlly Betts <olly@survex.com>2007-10-09 20:07:26 +0000
committerOlly Betts <olly@survex.com>2007-10-09 20:07:26 +0000
commit611e41e04b688440202945ccbfb343b5d9c6a779 (patch)
tree3b489ac00811612151d1b0402d7ad793c33aa540 /Makefile.in
parentf20d0b79460fea1aa6d60654bf2d673b6762606b (diff)
downloadswig-611e41e04b688440202945ccbfb343b5d9c6a779.tar.gz
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
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in13
1 files changed, 8 insertions, 5 deletions
diff --git a/Makefile.in b/Makefile.in
index c6e3a7bbf..99b07c438 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -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
-# Makefile ends here
+$(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