5
0
mirror of git://git.proxmox.com/git/pve-docs.git synced 2025-03-20 22:50:06 +03:00

reduce section number depth in .pdf

This commit is contained in:
Dietmar Maurer 2016-04-02 12:59:13 +02:00
parent 89a8b6c63d
commit 27125931d3

View File

@ -131,7 +131,7 @@ pve-admin-guide.html: ${PVE_ADMIN_GUIDE_SOURCES}
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" --dblatex-opts "-P latex.class.options=12pt" pve-admin-guide.adoc
a2x -a docinfo -a docinfo1 -f pdf -L --dblatex-opts "-P latex.output.revhistory=0" --dblatex-opts "-P latex.class.options=12pt" --dblatex-opts "-P doc.section.depth=2 -P toc.section.depth=2" pve-admin-guide.adoc
test -z "$${NOVIEW}" && $(BROWSER) $@ &
pve-admin-guide.epub: ${PVE_ADMIN_GUIDE_SOURCES}