diff options
-rw-r--r-- | Makefile | 6 | ||||
-rw-r--r-- | Makefile.top | 10 |
2 files changed, 5 insertions, 11 deletions
@@ -18,7 +18,7 @@ SRCDIR:=$(patsubst %/,%,$(dir $(realpath $(firstword $(MAKEFILE_LIST))))) .PHONY : $(filter-out $(SRCDIR)/config_host.mk,$(MAKECMDGOALS)) # recursively invoke Makefile.top, which includes config_host.mk -$(firstword $(MAKECMDGOALS)) : $(SRCDIR)/config_host.mk +$(filter-out help,$(firstword $(MAKECMDGOALS))) : $(SRCDIR)/config_host.mk $(MAKE) -r -f $(SRCDIR)/Makefile.top $(MAKECMDGOALS) # run configure in an environment not polluted by config_host.mk @@ -34,4 +34,8 @@ $(SRCDIR)/config_host.mk : \ $(SRCDIR)/autogen.lastrun: @true +help: + @cat $(SRCDIR)/solenv/gbuild/gbuild.help.txt + @true + # vim: set noet sw=4 ts=4: diff --git a/Makefile.top b/Makefile.top index 11468c5d5d4e..4aaf83236b04 100644 --- a/Makefile.top +++ b/Makefile.top @@ -527,14 +527,4 @@ debugrun: endif # not clean or distclean - -######################### -# help -# -.PHONY: help -help: - @cat $(SRCDIR)/solenv/gbuild/gbuild.help.txt - @true - - # vim: set noet sw=4 ts=4: |