From 61efbc4c9a6b0879f43cea3cdf1538f9f7c15119 Mon Sep 17 00:00:00 2001 From: Jonas Fonseca Date: Sun, 8 Jan 2006 23:44:59 +0100 Subject: [PATCH] First attempt to build html/api docs It only does src/dom/sgml/parser.h for now. --- doc/Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doc/Makefile b/doc/Makefile index 18a383e09..121961c23 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -14,6 +14,7 @@ TXT_DIR = $(top_srcdir)/doc/txt DOC_DIRS = \ $(HTML_DIR) \ + $(HTML_DIR)/api \ $(MAN_DIR)/man1 \ $(MAN_DIR)/man5 \ $(TXT_DIR) \ @@ -51,12 +52,14 @@ FEATURES = $(top_srcdir)/features.conf ### Scripts # +CODE2DOC = $(top_srcdir)/doc/tools/code2doc HELP2DOC = $(top_srcdir)/doc/tools/help2doc IMPORT_FEATURES_CONF = $(top_srcdir)/doc/tools/import-features.conf MAKE_ELINKS_MANPAGE = $(top_srcdir)/doc/tools/make-elinks-manpage MAKE_ELINKSKEYS_MANPAGE = $(top_srcdir)/doc/tools/make-elinkskeys-manpage HTML_DOCS-$(CONFIG_ASCIIDOC) += \ + api/dom-sgml-parser.html \ elinks.1.html \ elinkskeys.5.html \ hacking.html \ @@ -165,4 +168,10 @@ $(HTML_DIR)/perl.html: $(top_srcdir)/doc/perl.pod $(HTML_DIR)/perl-hooks.html: $(top_srcdir)/contrib/perl/hooks.pl $(POD2HTML) --outfile=$@ < $< +## API Docs +# + +$(HTML_DIR)/api/dom-sgml-parser.html: $(top_srcdir)/src/dom/sgml/parser.h + $(CODE2DOC) $< | $(ASCIIDOC) -f code2doc.conf -b xhtml11 -d book -o $@ -n - + include $(top_srcdir)/Makefile.lib