- pdf generation

This commit is contained in:
Ludovic Jacomme 2004-07-14 23:24:01 +00:00
parent 26c8a2b8c0
commit 8f26e0b12d
1 changed files with 6 additions and 15 deletions

View File

@ -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