Archived
1
0
Fork 0

docs: index generation

This commit is contained in:
Henrik Hautakoski 2010-11-05 11:13:18 +01:00
parent 15e73d76ab
commit baa6cbb316
3 changed files with 26 additions and 2 deletions

View file

@ -1,10 +1,11 @@
ASCIIDOC = asciidoc
HTML_DOCS = api-notify.html strbuf.html xalloc.html
HTML_DOCS = index.html api-notify.html strbuf.html xalloc.html
ifndef VERBOSE
QUIET_ASCIIDOC = @echo ' ' GEN $@;
QUIET_SCRIPT = @echo ' ' GEN $@;
endif
.PHONY : clean
@ -14,5 +15,8 @@ html : $(HTML_DOCS)
%.html : %.txt
$(QUIET_ASCIIDOC)$(ASCIIDOC) -b xhtml11 -o $@ $<
index.txt :
$(QUIET_SCRIPT)$(shell ./genindex.sh index.txt)
clean :
$(RM) $(HTML_DOCS)
$(RM) index.txt $(HTML_DOCS)