forked from altcloud/mkimage-profiles
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?
This commit is contained in:
parent
802ea74da8
commit
969d1eb6b2
4
Makefile
4
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))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user