mirror of
https://git.proxmox.com/git/pve-docs
synced 2025-06-15 18:27:00 +00:00
pve-admin-guide-docinfo.xml.in: automatically update year in copyright notice
This commit is contained in:
parent
917ee0a600
commit
742e92ef45
3
Makefile
3
Makefile
@ -127,8 +127,9 @@ pve-admin-guide.chunked: ${PVE_ADMIN_GUIDE_ADOCDEPENDS}
|
|||||||
PVE_DOCBOOK_CONF=-b $(shell pwd)/asciidoc/pve-docbook -f asciidoc/asciidoc-pve.conf
|
PVE_DOCBOOK_CONF=-b $(shell pwd)/asciidoc/pve-docbook -f asciidoc/asciidoc-pve.conf
|
||||||
PVE_DBLATEX_OPTS='-p ./asciidoc/pve-dblatex.xsl -s asciidoc/dblatex-custom.sty -c asciidoc/dblatex-export.conf'
|
PVE_DBLATEX_OPTS='-p ./asciidoc/pve-dblatex.xsl -s asciidoc/dblatex-custom.sty -c asciidoc/dblatex-export.conf'
|
||||||
|
|
||||||
|
YEAR:=$(shell date '+%Y')
|
||||||
pve-admin-guide-docinfo.xml: pve-admin-guide-docinfo.xml.in
|
pve-admin-guide-docinfo.xml: pve-admin-guide-docinfo.xml.in
|
||||||
sed -e 's/@RELEASE@/${DOCRELEASE}/' <$< >$@
|
sed -e 's/@RELEASE@/${DOCRELEASE}/' -e 's/@YEAR@/${YEAR}/' <$< >$@
|
||||||
|
|
||||||
pve-admin-guide.pdf: ${PVE_ADMIN_GUIDE_ADOCDEPENDS} docinfo.xml pve-admin-guide-docinfo.xml
|
pve-admin-guide.pdf: ${PVE_ADMIN_GUIDE_ADOCDEPENDS} docinfo.xml pve-admin-guide-docinfo.xml
|
||||||
rsvg-convert -f pdf -o proxmox-logo.pdf images/proxmox-logo.svg
|
rsvg-convert -f pdf -o proxmox-logo.pdf images/proxmox-logo.svg
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<subtitle>Release @RELEASE@</subtitle>
|
<subtitle>Release @RELEASE@</subtitle>
|
||||||
|
|
||||||
<copyright>
|
<copyright>
|
||||||
<year>2017</year>
|
<year>@YEAR@</year>
|
||||||
<holder>Proxmox Server Solutions Gmbh</holder>
|
<holder>Proxmox Server Solutions Gmbh</holder>
|
||||||
</copyright>
|
</copyright>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user