From 8f26e0b12d2c395a4e3700013d56a2904b33ea42 Mon Sep 17 00:00:00 2001 From: Ludovic Jacomme Date: Wed, 14 Jul 2004 23:24:01 +0000 Subject: [PATCH] - pdf generation --- .../tutorials/simulation/tex/Makefile | 21 ++++++------------- 1 file changed, 6 insertions(+), 15 deletions(-) diff --git a/alliance/src/documentation/tutorials/simulation/tex/Makefile b/alliance/src/documentation/tutorials/simulation/tex/Makefile index 21979877..337bfdaf 100644 --- a/alliance/src/documentation/tutorials/simulation/tex/Makefile +++ b/alliance/src/documentation/tutorials/simulation/tex/Makefile @@ -1,31 +1,22 @@ TEX = simulation.tex FIG = addac.fig EPS = $(FIG:.fig=.eps) -PDF = $(EPS:.eps=.pdf) + +all : simulation.pdf + cp simulation.pdf ../../ -%.pdf : %.tex - pdflatex $< - -%.dvi : %.tex +simulation.dvi : simulation.tex addac.eps latex $< -%.ps : %.dvi - dvips -o $@ $< - -%.pdf : %.eps - epstopdf $< - %.eps : %.fig fig2dev -L eps $< > $@ -all : $(TEX:.tex=.ps) $(TEX:.tex=.pdf) +simulation.pdf : simulation.dvi + dvipdf simulation.dvi $(EPS) : $(FIG) -$(PDF) : $(EPS) $(TEX:.tex=.ps) : $(TEX:.tex=.dvi) -$(TEX:.tex=.dvi) : $(EPS) -$(TEX:.tex=.pdf) : $(PDF) clean : rm -f *~ *.aux *.log *.pdf *.dvi *.ps *.out *.toc *.eps