X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/a0ce5562122f6536329de1dc4f3e460032e02cca..5be197e92f347cd5ffac84442daa030262c6ffbe:/Documentation/Makefile diff --git a/Documentation/Makefile b/Documentation/Makefile index 165e222..dd029d5 100644 --- a/Documentation/Makefile +++ b/Documentation/Makefile @@ -5,12 +5,10 @@ MAN1_TXT= stg.txt $(COMMANDS_TXT) DOC_HTML=$(patsubst %.txt,%.html,$(MAN1_TXT)) -ARTICLES = -# with their own formatting rules. -SP_ARTICLES = tutorial +ARTICLES = tutorial -DOC_HTML += $(patsubst %,%.html,$(ARTICLES) $(SP_ARTICLES)) -DOC_PDF += $(patsubst %,%.pdf,$(ARTICLES) $(SP_ARTICLES)) +DOC_HTML += $(patsubst %,%.html,$(ARTICLES)) +DOC_PDF += $(patsubst %,%.pdf,$(ARTICLES)) DOC_MAN1=$(patsubst %.txt,%.1,$(MAN1_TXT)) @@ -84,6 +82,7 @@ command-list.txt: $(ALL_PY) # special formatting rules tutorial.html : %.html : %.txt - $(ASCIIDOC) -b xhtml11 -d article -f tutorial.conf $(ASCIIDOC_EXTRA) $< + $(ASCIIDOC) -b xhtml11 -d article -a toc -f tutorial.conf \ + $(ASCIIDOC_EXTRA) $< tutorial.xml : %.xml : %.txt $(ASCIIDOC) -b docbook -d article -f tutorial.conf $<