[Skiboot] [PATCH] Makefile: Add top level doc target

Joel Stanley joel at jms.id.au
Mon Mar 19 13:12:27 AEDT 2018


It's not clear what a 'make doc' should do at the top level given the
number of doc targets we have. Instead give the user the hint that they
should go into the doc directory.

Signed-off-by: Joel Stanley <joel at jms.id.au>
---
 Makefile.main | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/Makefile.main b/Makefile.main
index 96836384aba8..3fd5c3b7b67f 100644
--- a/Makefile.main
+++ b/Makefile.main
@@ -290,13 +290,16 @@ skiboot.info: coverage external/pflash/pflash.info external/gard/gard.info
 	lcov -q -a $@ -a external/gard/gard.info -o $@
 	lcov -q -r $@ $(LCOV_EXCLUDE) -o $@ --rc lcov_branch_coverage=1
 
+doc:
+	@echo "Please enter the doc/ directory and try again"
+
 tags:
 	find . -name '*.[chS]' | xargs ctags
 
 TAGS:
 	find . -name '*.[chS]' | xargs etags
 
-.PHONY: tags TAGS check coverage
+.PHONY: tags TAGS check coverage doc
 
 cscope:
 	find . -name '*.[chS]' | xargs cscope
-- 
2.15.1



More information about the Skiboot mailing list