#TARGETS = main.html main.pdf
TARGETS = presentation.pdf
all: $(TARGETS)
preview: main.pdf
xpdf main.pdf
preview-pres: presentation.pdf
xpdf presentation.pdf
clean:
-rm $(TARGETS) presentation.ps g_model.{eps,pdf} main.{html,pdf,ps}
-rm *.bbl *.aux *.toc *.blg *.out *.log *.dvi
print: main.pdf
-rm main.ps
a2ps -2 -o main.ps main.pdf
@echo lpr main.ps
sync:
rsync -zave ssh ./ rainbow.nmt.edu:~/www/tmp/ieee-student-paper
sync2: main.pdf
scp main.pdf mingo:~/
%.pdf: %.tex
pdflatex $*
pdflatex $*
pdflatex $*
%.dvi: %.tex
latex $*
latex $*
latex $*
#%.ps: %.dvi
# dvips -o $*.ps $*
%.pdf: %.dvi
dvipdf -sPAPERSIZE=a4 $*.dvi $*.pdf
%.aux: %.tex
latex $*
%.bbl: %.bib main.aux
bibtex main
%.html: %.tex
enscript -E --color --language html --toc -p$@ $<
%.eps: %.dot
dot -Tps $< > $@
%.pdf: %.eps
epstopdf $<
main.pdf: main.tex references.bbl g_model.pdf
presentation.dvi: presentation.tex g_model.eps
presentation.pdf: presentation.dvi
dvipdf -sPAPERSIZE=a4 $< $@