From 379ec78e3da982cd1dff1533d50a9b29b025db5b Mon Sep 17 00:00:00 2001 From: Joel Stanley Date: Tue, 10 Apr 2018 16:08:30 +0930 Subject: Makefile: Make it easier to find the docs Ad a top level 'doc' target that builds the html docs when the user types 'make doc'. Users who want other targets know that the docs live under docs/, so can go looking there. Signed-off-by: Joel Stanley Signed-off-by: Stewart Smith --- Makefile.main | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile.main') diff --git a/Makefile.main b/Makefile.main index 9683638..584d46d 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: + make -C doc html + 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 -- cgit v1.1