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:
parent
f20d0b7946
commit
611e41e04b
2 changed files with 11 additions and 5 deletions
13
Makefile.in
13
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
|
||||
|
||||
$(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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue