From 969d1eb6b2ced2fc5f4c96d4b779455ba3796a19 Mon Sep 17 00:00:00 2001 From: Michael Shigorin Date: Tue, 18 Jun 2013 00:36:55 +0400 Subject: [PATCH] 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? --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1190b605..022c10e0 100644 --- a/Makefile +++ b/Makefile @@ -29,8 +29,10 @@ MAKE += -r --no-print-directory DIRECT_TARGETS := help help/distro help/ve help/vm clean distclean check .PHONY: $(DIRECT_TARGETS) + +# these build nothing so no use of reports either $(DIRECT_TARGETS): - @$(MAKE) -f main.mk $@ + @$(MAKE) -f main.mk REPORT= $@ export NUM_TARGETS := $(words $(MAKECMDGOALS))