Skip to content

Commit

Permalink
Makefile: Make it easier to find the docs
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
shenki authored and stewartsmith committed Apr 11, 2018
1 parent 086f327 commit 379ec78
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile.main
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 379ec78

Please sign in to comment.