[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
+	@echo "Please enter the doc/ directory and try again"
 	find . -name '*.[chS]' | xargs ctags
 	find . -name '*.[chS]' | xargs etags
-.PHONY: tags TAGS check coverage
+.PHONY: tags TAGS check coverage doc
 	find . -name '*.[chS]' | xargs cscope

More information about the Skiboot mailing list