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.

wyoung 2017-10-11 01:16 wy-autoreconfig
Commit c649ba277058a5988abb632879210a7d00641f3989409e9bf1523d9a8632bdfa
1 file changed +7
--- Makefile.in
+++ Makefile.in
@@ -52,5 +52,12 @@
5252
distclean: clean
5353
rm -f autoconfig.h config.log Makefile
5454
5555
reconfig:
5656
@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
5764
--- 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button