docs: index generation
This commit is contained in:
parent
15e73d76ab
commit
baa6cbb316
3 changed files with 26 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Reference in a new issue