Fossil SCM
Automatically re-configuring (same as "make reconfig") when Makefile.in, src/main.mk, or one of the autosetup files changes. This should avoid the need to recommend to people "re-run configure" whenever they call "fossil update" on this tree.
Commit
c649ba277058a5988abb632879210a7d00641f3989409e9bf1523d9a8632bdfa
Parent
fd33b6a4aa314c2…
1 file changed
+7
+7
| --- Makefile.in | ||
| +++ Makefile.in | ||
| @@ -52,5 +52,12 @@ | ||
| 52 | 52 | distclean: clean |
| 53 | 53 | rm -f autoconfig.h config.log Makefile |
| 54 | 54 | |
| 55 | 55 | reconfig: |
| 56 | 56 | @AUTOREMAKE@ |
| 57 | + | |
| 58 | +# Reconfigure whenever an audiosetup file or one of the make source | |
| 59 | +# files change, unless this is "make clean". | |
| 60 | +ifeq ($(findstring clean,$(MAKECMDGOALS)),) | |
| 61 | +Makefile: Makefile.in $(SRCDIR)/main.mk @AUTODEPS@ | |
| 62 | + @AUTOREMAKE@ && $(MAKE) | |
| 63 | +endif | |
| 57 | 64 |
| --- Makefile.in | |
| +++ Makefile.in | |
| @@ -52,5 +52,12 @@ | |
| 52 | distclean: clean |
| 53 | rm -f autoconfig.h config.log Makefile |
| 54 | |
| 55 | reconfig: |
| 56 | @AUTOREMAKE@ |
| 57 |
| --- Makefile.in | |
| +++ Makefile.in | |
| @@ -52,5 +52,12 @@ | |
| 52 | distclean: clean |
| 53 | rm -f autoconfig.h config.log Makefile |
| 54 | |
| 55 | reconfig: |
| 56 | @AUTOREMAKE@ |
| 57 | |
| 58 | # Reconfigure whenever an audiosetup file or one of the make source |
| 59 | # files change, unless this is "make clean". |
| 60 | ifeq ($(findstring clean,$(MAKECMDGOALS)),) |
| 61 | Makefile: Makefile.in $(SRCDIR)/main.mk @AUTODEPS@ |
| 62 | @AUTOREMAKE@ && $(MAKE) |
| 63 | endif |
| 64 |