summaryrefslogtreecommitdiff
path: root/doc/Makefile.am
blob: 0dd044b235f9c59d7e3b5d68de42fff3ae02f447 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# -*- Makefile -*-

.PHONY: gendoc

ASCIIDOCOPTS=-n -a pygments -a toc -a language=c -a icons \
	     -a imagesdir="images/" \
	     -a stylesdir="${abs_srcdir}/stylesheets/"

gendoc:
	doxygen Doxyfile;
	./gen-tags.sh | ./tags2dict.sh > libnl.dict
	asciidoc $(ASCIIDOCOPTS) core.txt
	./doxygen-link.py libnl.dict core.html > core.tmp.html
	mv core.tmp.html core.html

distclean-local:
	rm -f api/* libnl.tags *.html;