]> git.proxmox.com Git - pve-docs.git/blobdiff - Makefile
add Proxmox VE relase number
[pve-docs.git] / Makefile
index 1ccca2dbfcf79a704f16029d5dfe77472cd1be7f..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
@@ -22,6 +22,7 @@ PVE_ADMIN_GUIDE_SOURCES=              \
        images/cluster-nwdiag.svg       \
        images/node-nwdiag.svg          \
        pve-bibliography.adoc           \
        images/cluster-nwdiag.svg       \
        images/node-nwdiag.svg          \
        pve-bibliography.adoc           \
+       GFDL.adoc                       \
        attributes.txt
 
 ADOC_STDARG= -a icons -a data-uri -a "date=$(shell date)"
        attributes.txt
 
 ADOC_STDARG= -a icons -a data-uri -a "date=$(shell date)"
@@ -66,11 +67,11 @@ 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 $@ &
 
        test -z "$${NOVIEW}" && iceweasel $@ &
 
-pve-admin-guide.pdf: ${PVE_ADMIN_GUIDE_SOURCES} docinfo.xml
-       a2x -a docinfo1 -f pdf -L --dblatex-opts "-P latex.output.revhistory=0" pve-admin-guide.adoc
+pve-admin-guide.pdf: ${PVE_ADMIN_GUIDE_SOURCES} docinfo.xml pve-admin-guide-docinfo.xml
+       a2x -a docinfo -a docinfo1 -f pdf -L --dblatex-opts "-P latex.output.revhistory=0" pve-admin-guide.adoc
        test -z "$${NOVIEW}" && iceweasel $@ &
 
 pve-admin-guide.epub: ${PVE_ADMIN_GUIDE_SOURCES}
        test -z "$${NOVIEW}" && iceweasel $@ &
 
 pve-admin-guide.epub: ${PVE_ADMIN_GUIDE_SOURCES}