]> git.proxmox.com Git - pve-docs.git/commitdiff
add Proxmox VE relase number
authorDietmar Maurer <dietmar@proxmox.com>
Wed, 6 Jan 2016 14:41:41 +0000 (15:41 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 6 Jan 2016 14:41:41 +0000 (15:41 +0100)
Makefile

index 008aed38a7ed2d245a1cd8a09902cea0ea0cb050..bc7f4c3b1d362fc7993935c5786c93a8a438585e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-
+RELEASE=4.1
 
 PVESM_SOURCES=attributes.txt pvesm.adoc pvesm.1-synopsis.adoc $(shell ls pve-storage-*.adoc)
 PVEUM_SOURCES=attributes.txt pveum.adoc pveum.1-synopsis.adoc
 
 PVESM_SOURCES=attributes.txt pvesm.adoc pvesm.1-synopsis.adoc $(shell ls pve-storage-*.adoc)
 PVEUM_SOURCES=attributes.txt pveum.adoc pveum.1-synopsis.adoc
@@ -67,7 +67,7 @@ index.html: index.adoc ${PVE_ADMIN_GUIDE_SOURCES}
        iceweasel index.html &
 
 pve-admin-guide.html: ${PVE_ADMIN_GUIDE_SOURCES}
        iceweasel index.html &
 
 pve-admin-guide.html: ${PVE_ADMIN_GUIDE_SOURCES}
-       asciidoc -a "date=$(shell date)" pve-admin-guide.adoc 
+       asciidoc -a "revnumber=${RELEASE}" -a "date=$(shell date)" pve-admin-guide.adoc 
        test -z "$${NOVIEW}" && iceweasel $@ &
 
 pve-admin-guide.pdf: ${PVE_ADMIN_GUIDE_SOURCES} docinfo.xml pve-admin-guide-docinfo.xml
        test -z "$${NOVIEW}" && iceweasel $@ &
 
 pve-admin-guide.pdf: ${PVE_ADMIN_GUIDE_SOURCES} docinfo.xml pve-admin-guide-docinfo.xml