Skip to content

Commit 72bc12e

Browse files
committed
doxygen: add make targets to build man and latex
HTML will be build per default.
1 parent 1bfe635 commit 72bc12e

File tree

3 files changed

+17
-3
lines changed

3 files changed

+17
-3
lines changed

Makefile

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.all:
22

3-
.PHONY: all doc docclean welcome
3+
.PHONY: all doc doc-man doc-latex docclean welcome
44

55
all: welcome
66
@echo ""
@@ -9,6 +9,12 @@ all: welcome
99
doc:
1010
"$(MAKE)" -BC doc/doxygen
1111

12+
doc-man:
13+
"$(MAKE)" -BC doc/doxygen man
14+
15+
doc-latex:
16+
"$(MAKE)" -BC doc/doxygen latex
17+
1218
docclean:
1319
"$(MAKE)" -BC doc/doxygen clean
1420

doc/doxygen/Makefile

+9-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,15 @@ doc: html
44
# by marking html as phony we force make to re-run Doxygen even if the directory exists.
55
.PHONY: html
66
html:
7-
doxygen riot.doxyfile
7+
( cat riot.doxyfile ; echo "GENERATE_HTML = yes" ) | doxygen -
8+
9+
.PHONY: man
10+
man:
11+
( cat riot.doxyfile ; echo "GENERATE_MAN = yes" ) | doxygen -
12+
13+
.PHONY:
14+
latex:
15+
( cat riot.doxyfile ; echo "GENERATE_LATEX= yes" ) | doxygen -
816

917
clean:
1018
-@rm -rf latex man html doxygen_objdb_*.tmp

doc/doxygen/riot.doxyfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1039,7 +1039,7 @@ IGNORE_PREFIX =
10391039
# If the GENERATE_HTML tag is set to YES doxygen will generate HTML output
10401040
# The default value is: YES.
10411041

1042-
GENERATE_HTML = YES
1042+
GENERATE_HTML = NO
10431043

10441044
# The HTML_OUTPUT tag is used to specify where the HTML docs will be put. If a
10451045
# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of

0 commit comments

Comments
 (0)