]> git.proxmox.com Git - pve-docs.git/commitdiff
generate README.html including a TOC
authorDietmar Maurer <dietmar@proxmox.com>
Thu, 1 Dec 2016 10:48:28 +0000 (11:48 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 1 Dec 2016 10:48:28 +0000 (11:48 +0100)
Makefile

index 8fdf3770f0ddf8023d058f9812419f770afab25e..b69b28c9a3f2118f2c2fb0317329913091577729 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -89,7 +89,7 @@ BROWSER?=xdg-open
        nwdiag -T svg $*.nwdiag -o $@;
 
 README.html: README.adoc
        nwdiag -T svg $*.nwdiag -o $@;
 
 README.html: README.adoc
-       asciidoc ${ADOC_STDARG} -o $@ $<
+       asciidoc -a toc ${ADOC_STDARG} -o $@ $<
 
 .PHONY: index
 index: index.html
 
 .PHONY: index
 index: index.html