From 63548f5664e0e149f5e51219ad6f582f985e3c42 Mon Sep 17 00:00:00 2001 From: Thomas Graf Date: Thu, 14 Jul 2011 12:48:00 +0200 Subject: documentation updates --- doc/Makefile.am | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) (limited to 'doc/Makefile.am') diff --git a/doc/Makefile.am b/doc/Makefile.am index 0dd044b..dc52163 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,17 +1,25 @@ # -*- Makefile -*- -.PHONY: gendoc +.PHONY: gendoc api_refs asciidoc -ASCIIDOCOPTS=-n -a pygments -a toc -a language=c -a icons \ +ASCIIDOCOPTS=-a pygments -a language=c -a icons \ -a imagesdir="images/" \ -a stylesdir="${abs_srcdir}/stylesheets/" -gendoc: +%.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 - 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; +gendoc: + $(MAKE) api_ref + $(MAKE) asciidoc + +clean-local: + rm -f api/* libnl.dict *.html; -- cgit v1.2.1