From: Philippe Chauvat Date: Wed, 3 Oct 2012 08:34:30 +0000 (+0200) Subject: Makefile.in integrate now pdflatex compilation and EPS (.dvi) PDF (.pdf) coverpage X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=eb3b24aefed8e7ecba57f4301dec3220b1190854;p=bacula%2Fdocs Makefile.in integrate now pdflatex compilation and EPS (.dvi) PDF (.pdf) coverpage --- diff --git a/docs/manuals/en/console/Makefile.in b/docs/manuals/en/console/Makefile.in index ef4fe269..1d313329 100644 --- a/docs/manuals/en/console/Makefile.in +++ b/docs/manuals/en/console/Makefile.in @@ -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 .