Skip to contentSkip to conversation

tools/lib/traceevent: libtraceevent Makefile "help" target

PATCH New Tzvetomir Stoyanov 1 participant 1 message Nov 9, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tools/lib/traceevent: libtraceevent Makefile "help" target

This patch adds a new target to the traceevent Makefile - "help". "make help" prints a description of all targets, supported by the Makefile.

---
 tools/lib/traceevent/Makefile | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
tools/lib/traceevent/Makefile +15 -0
index 3764e003d1cc..0853861d0cd2 100644
@@ -326,6 +326,21 @@ doc-install:
 doc-uninstall:
 	$(call descend,Documentation,uninstall)
 
+help:
+	@echo 'Possible targets:'
+	@echo''
+	@echo '  all                 - default, compile the library and the'\
+	 			      'plugins'
+	@echo '  plugins             - compile the plugins'
+	@echo '  install             - install the library, the plugins,'\
+					'the header and pkgconfig files'
+	@echo '  clean               - clean the library and the plugins object files'
+	@echo '  doc                 - compile the documentation files - man'\
+					'and html pages, in the Documentation directory'
+	@echo '  doc-clean           - clean the documentation files'
+	@echo '  doc-install         - install the man pages'
+	@echo '  doc-uninstall       - uninstall the man pages'
+	@echo''
 PHONY += force plugins
 force:
 
Signature · 1 line
2.17.2