]> git.sur5r.net Git - bacula/docs/commitdiff
Makefile.in integrate now pdflatex compilation and EPS (.dvi) PDF (.pdf) coverpage
authorPhilippe Chauvat <philippe.chauvat@baculasystems.com>
Wed, 3 Oct 2012 08:34:30 +0000 (10:34 +0200)
committerEric Bollengier <eric@baculasystems.com>
Wed, 3 Oct 2012 09:05:31 +0000 (11:05 +0200)
docs/manuals/en/console/Makefile.in

index ef4fe269c4f86553b67d26030b604440032505e9..1d313329832d26c98671d992c2e7e0edb9c0a3a1 100644 (file)
@@ -38,6 +38,8 @@ IMAGES=../../../images
 
 DOC=console
 MAINDOC=Bacula_Console_Operators_Gu.html
+BSYSMANUALDIR=../../../bsysmanual
+COVERSDIR=../../../covers/pdf
 
 first_rule: all
 
@@ -48,7 +50,21 @@ all: tex web dvipdf mini-clean
 .DONTCARE:
 
 
-tex:
+pdfcovers:
+       @echo -n "Linking coverpage and background PDF format..."
+       @ln -sf `pwd`/${COVERSDIR}/coverpage-book.v2.pdf `pwd`/${BSYSMANUALDIR}/bsysmanual-coverpagebackground.pdf
+       @ln -sf `pwd`/${COVERSDIR}/book-background.pdf `pwd`/${BSYSMANUALDIR}/bsysmanual-oddpagebackground.pdf
+       @ln -sf `pwd`/${COVERSDIR}/book-background.pdf `pwd`/${BSYSMANUALDIR}/bsysmanual-evenpagebackground.pdf
+       @echo "Done."
+
+epscovers:
+       @echo -n "Linking coverpage and background EPS format..."
+       @ln -sf `pwd`/${COVERSDIR}/coverpage-book.v2.eps `pwd`/${BSYSMANUALDIR}/bsysmanual-coverpagebackground.eps
+       @ln -sf `pwd`/${COVERSDIR}/book-background.eps `pwd`/${BSYSMANUALDIR}/bsysmanual-oddpagebackground.eps
+       @ln -sf `pwd`/${COVERSDIR}/book-background.eps `pwd`/${BSYSMANUALDIR}/bsysmanual-evenpagebackground.eps
+       @echo "Done."
+
+tex:   epscovers
        @../../update_version
        @echo "Making version `cat version.tex`"
        @cp -fp ${IMAGES}/hires/*.eps .
@@ -63,6 +79,14 @@ pdf:
        @cp -fp ${IMAGES}/hires/*.eps .
        dvipdfm -p a4 ${DOC}.dvi
 
+pdflatex: pdfcovers
+       @echo "Making pdflatex"
+       @cp -fp ${IMAGES}/hires/*.eps .
+       pdflatex -interaction=batchmode ${DOC}.tex
+       makeindex ${DOC}.idx -o ${DOC}.ind 2>/dev/null
+       pdflatex -interaction=batchmode ${DOC}.tex
+       pdflatex -interaction=batchmode ${DOC}.tex
+
 dvipdf:
        @echo "Making dvi to pdf"
        @cp -fp ${IMAGES}/hires/*.eps .