blob: dc521633f2b57b3e564e7156634df411439f56e3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# -*- Makefile -*-
.PHONY: gendoc api_refs asciidoc
ASCIIDOCOPTS=-a pygments -a language=c -a icons \
-a imagesdir="images/" \
-a stylesdir="${abs_srcdir}/stylesheets/"
%.html: %.txt
asciidoc $(ASCIIDOCOPTS) $<
./doxygen-link.py libnl.dict $@ > doxygen-link.tmp
mv doxygen-link.tmp $@
asciidoc: core.html route.html index.html link.html
api_ref:
doxygen Doxyfile;
./gen-tags.sh | ./tags2dict.sh > libnl.dict
gendoc:
$(MAKE) api_ref
$(MAKE) asciidoc
clean-local:
rm -f api/* libnl.dict *.html;
|