]> git.proxmox.com Git - pve-docs.git/commitdiff
use ADOC_STDARG to compile index.html
authorDietmar Maurer <dietmar@proxmox.com>
Tue, 18 Oct 2016 11:12:15 +0000 (13:12 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 18 Oct 2016 11:12:15 +0000 (13:12 +0200)
Makefile

index b6881e26bc7a143f707fda99901fce4fd1355bad..f0acc39c9670712d903120961c947b039742639b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -84,7 +84,7 @@ index: index.html
        $(BROWSER) index.html &
 
 index.html: index.adoc ${API_VIEWER_SOURCES} ${INDEX_INCLUDES} 
-       asciidoc -a "date=$(shell date)" -a "revnumber=${DOCRELEASE}" index.adoc
+       asciidoc ${ADOC_STDARG} -o $@ index.adoc
 
 pve-admin-guide.html: ${PVE_ADMIN_GUIDE_ADOCDEPENDS}
        asciidoc -a pvelogo -a "revnumber=${DOCRELEASE}" -a "date=$(shell date)" pve-admin-guide.adoc