Archived
1
0
Fork 0
This repository has been archived on 2026-05-10. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
archived/docs/Makefile
2010-11-05 11:13:18 +01:00

22 lines
405 B
Makefile

ASCIIDOC = asciidoc
HTML_DOCS = index.html api-notify.html strbuf.html xalloc.html
ifndef VERBOSE
QUIET_ASCIIDOC = @echo ' ' GEN $@;
QUIET_SCRIPT = @echo ' ' GEN $@;
endif
.PHONY : clean
all : $(HTML_DOCS)
html : $(HTML_DOCS)
%.html : %.txt
$(QUIET_ASCIIDOC)$(ASCIIDOC) -b xhtml11 -o $@ $<
index.txt :
$(QUIET_SCRIPT)$(shell ./genindex.sh index.txt)
clean :
$(RM) index.txt $(HTML_DOCS)