Skip to content
Snippets Groups Projects
Commit 9c3e1bf3 authored by Fons Rademakers's avatar Fons Rademakers
Browse files

add new target "help" that lists all Makefile targets.

git-svn-id: http://root.cern.ch/svn/root/trunk@36664 27541ba8-7e3a-0410-8455-c3a389f83636
parent 02e0422c
No related branches found
No related tags found
No related merge requests found
......@@ -626,7 +626,8 @@ endif
.PHONY: all fast config rootcint rootlibs rootexecs dist distsrc \
clean distclean maintainer-clean compiledata \
version html changelog install uninstall showbuild \
releasenotes static map debian redhat skip postbin
releasenotes static map debian redhat skip postbin \
showit help
ifneq ($(findstring map, $(MAKECMDGOALS)),)
.NOTPARALLEL:
......@@ -1320,3 +1321,10 @@ showit:
@echo "Libraries:$(word 1, $(ALLLIBS))"
@$(foreach l, $(filter-out $(word 1, $(ALLLIBS)), $(ALLLIBS)), \
echo -e "\t$(l)" ;)
help:
@$(MAKE) --print-data-base --question | \
awk '/^[^.%][-A-Za-z0-9_]*:/ \
{ print substr($$1, 1, length($$1)-1) }' | \
sort | uniq | \
pr -t -w 80 -4
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment