summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-06-29 15:03:13 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-06-29 15:05:02 +0200
commit102d87fc3619368af903523108188680c07b6d0d (patch)
tree1574bb2ab4bcb547cd3baaa78d29de36591a8efe /Makefile.in
parentbc578df9aed185b79bd42c9ffe95186d800fff59 (diff)
Fix inconsistent dependencies of "make $MODULE" vs. "make $MODULE.build" etc.
...where the latter failed to rebuild compilerplugins if necessary, while the former did. (No idea about the proper dependencies of "make $MODULE.showdeliverables".) Change-Id: Ib6f8e193445229745475aa52eb7a78ebb30e49e5
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 6997756ce12f..2fb1f5f3812a 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -88,7 +88,10 @@ define gb_Top_GbuildModuleRules
$(1): bootstrap fetch
cd $(SRCDIR)/$(2) && $$(MAKE) $(IWYU_OPTION) $(PARALLELISM_OPTION) $(GMAKE_OPTIONS)
-$(1).build $(1).check $(1).clean $(1).showdeliverables $(foreach target,$(gb_Top_MODULE_CHECK_TARGETS),$(1).$(target)):
+$(1).build $(1).check $(foreach target,$(gb_Top_MODULE_CHECK_TARGETS),$(1).$(target)): bootstrap fetch
+ cd $(SRCDIR)/$(2) && $$(MAKE) $(PARALLELISM_OPTION) $(GMAKE_OPTIONS) $$(patsubst $(1).%,%,$$@)
+
+$(1).clean $(1).showdeliverables:
cd $(SRCDIR)/$(2) && $$(MAKE) $(PARALLELISM_OPTION) $(GMAKE_OPTIONS) $$(patsubst $(1).%,%,$$@)
$(1).all: bootstrap fetch