X-Git-Url: https://git.proxmox.com/?p=pve-docs.git;a=blobdiff_plain;f=Makefile;h=00e6578f43ffad7680585875927478d3011c6721;hp=008aed38a7ed2d245a1cd8a09902cea0ea0cb050;hb=8f13ba5f18c2ed2219344af34f6b21653bcd0677;hpb=caf01dfcdef6b14c4367f253e9bb683364d77827 diff --git a/Makefile b/Makefile index 008aed3..00e6578 100644 --- 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 @@ -67,10 +67,11 @@ index.html: index.adoc ${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 + grep ">Release ${RELEASE}<" pve-admin-guide-docinfo.xml || (echo "wrong release in pve-admin-guide-docinfo.xml" && false); a2x -a docinfo -a docinfo1 -f pdf -L --dblatex-opts "-P latex.output.revhistory=0" pve-admin-guide.adoc test -z "$${NOVIEW}" && iceweasel $@ &