chiark / gitweb /
subdirmk: Fix bug in regen.mk.in
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 23 Nov 2019 18:42:31 +0000 (18:42 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 24 Nov 2019 22:07:39 +0000 (22:07 +0000)
Apparently, if you just write `;', make knows that the command can't
have done anything.  It therefore concludes tha the target file cannot
have been updated and doesn't bother rereading it.

The result is that you end up using last run's makefiles.

Writing @: fixes this.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
subdirmk/regen.mk.in

index a9fd30c06b5e6bd1587ae4f4425dec389345aeba..c4002a623a650a5127eb40c0d29b4c3c8c7cf57a 100644 (file)
@@ -35,7 +35,8 @@ MAKEFILE_TEMPLATES += $(addprefix $(top_srcdir)/, $(addsuffix .in, \
        @_SUBDIRMK_MAKEFILES@ \
        ))
 
-main.mk $(SUBDIRMK_MAKEFILES) $(CONFIG_STATUS_OUTPUTS): .makefiles.stamp ;
+main.mk $(SUBDIRMK_MAKEFILES) $(CONFIG_STATUS_OUTPUTS): .makefiles.stamp
+               @:
 .makefiles.stamp:                                              \
                $(top_srcdir)/subdirmk/generate                 \
                $(CONFIG_STATUS)                                \