Commit 969d1eb6 authored by Michael Shigorin's avatar Michael Shigorin

Makefile: don't try to report on distclean

...and on other direct non-build actions like clean or help. How could this stay overlooked for so long?
parent 802ea74d
...@@ -29,8 +29,10 @@ MAKE += -r --no-print-directory ...@@ -29,8 +29,10 @@ MAKE += -r --no-print-directory
DIRECT_TARGETS := help help/distro help/ve help/vm clean distclean check DIRECT_TARGETS := help help/distro help/ve help/vm clean distclean check
.PHONY: $(DIRECT_TARGETS) .PHONY: $(DIRECT_TARGETS)
# these build nothing so no use of reports either
$(DIRECT_TARGETS): $(DIRECT_TARGETS):
@$(MAKE) -f main.mk $@ @$(MAKE) -f main.mk REPORT= $@
export NUM_TARGETS := $(words $(MAKECMDGOALS)) export NUM_TARGETS := $(words $(MAKECMDGOALS))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment