aboutsummaryrefslogtreecommitdiff
path: root/Makefile.main
diff options
context:
space:
mode:
authorJoel Stanley <joel@jms.id.au>2018-04-10 16:08:30 +0930
committerStewart Smith <stewart@linux.ibm.com>2018-04-11 17:59:57 -0500
commit379ec78e3da982cd1dff1533d50a9b29b025db5b (patch)
tree507161871d8e09a9d3d5670773cf5e8274147d32 /Makefile.main
parent086f3277bc3f50afe07f6ab07562ba422fc5baab (diff)
downloadskiboot-379ec78e3da982cd1dff1533d50a9b29b025db5b.zip
skiboot-379ec78e3da982cd1dff1533d50a9b29b025db5b.tar.gz
skiboot-379ec78e3da982cd1dff1533d50a9b29b025db5b.tar.bz2
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 <joel@jms.id.au> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'Makefile.main')
-rw-r--r--Makefile.main5
1 files changed, 4 insertions, 1 deletions
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