]> git.proxmox.com Git - pve-docs.git/commitdiff
add release number as subtitle to pve-admin-guide.pdf
authorDietmar Maurer <dietmar@proxmox.com>
Wed, 6 Jan 2016 15:15:05 +0000 (16:15 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 6 Jan 2016 15:15:05 +0000 (16:15 +0100)
Unless we find a better way to present that information.

Makefile
pve-admin-guide-docinfo.xml

index bc7f4c3b1d362fc7993935c5786c93a8a438585e..00e6578f43ffad7680585875927478d3011c6721 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -71,6 +71,7 @@ pve-admin-guide.html: ${PVE_ADMIN_GUIDE_SOURCES}
        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 $@ &
 
index 5267955ee7a55445f33acd76725de2a8037bfdf9..ad7396047764a50daf61220083a4cf3ceb8e2a35 100644 (file)
@@ -1,3 +1,5 @@
+<subtitle>Release 4.1</subtitle>
+
 <copyright>
   <year>2016</year>
   <holder>Proxmox Server Solutions Gmbh</holder>