1 |
.SUFFIXES: $(SUFFIXES) .eps .pdf .fig |
.SUFFIXES: $(SUFFIXES) .eps .pdf .fig |
2 |
|
|
3 |
|
ifeq ($(USEARTICLE),yes) |
4 |
|
LATEXCMD=\def\usearticle{yes}\input |
5 |
|
else |
6 |
|
LATEXCMD= |
7 |
|
endif |
8 |
|
|
9 |
all: perceptual-model.eps pipeline.eps |
all: perceptual-model.eps pipeline.eps |
10 |
latex paper |
latex "${LATEXCMD} paper" |
11 |
BIBINPUTS=..:$$BIBINPUTS bibtex paper |
BIBINPUTS=..:$$BIBINPUTS bibtex paper |
12 |
latex paper |
latex "${LATEXCMD} paper" |
13 |
|
|
14 |
# doesn't work because of .ps screenshots |
# doesn't work because of .ps screenshots |
15 |
pdf: perceptual-model.pdf pipeline.pdf |
pdf: perceptual-model.pdf pipeline.pdf |
16 |
pdflatex paper |
pdflatex "${LATEXCMD} paper" |
17 |
BIBINPUTS=..:$$BIBINPUTS bibtex paper |
BIBINPUTS=..:$$BIBINPUTS bibtex paper |
18 |
pdflatex paper |
pdflatex "${LATEXCMD} paper" |
19 |
|
|
20 |
pipeline.eps: pipeline.fig Makefile |
pipeline.eps: pipeline.fig Makefile |
21 |
fig2dev -L eps -m .42 pipeline.fig pipeline.eps |
fig2dev -L eps -m .42 pipeline.fig pipeline.eps |
34 |
shots_paper: |
shots_paper: |
35 |
for i in ../../../shots/multipaper.png ../../../shots/paperbasistex.png; do \ |
for i in ../../../shots/multipaper.png ../../../shots/paperbasistex.png; do \ |
36 |
pngtopnm <$$i | pnmcrop | pnmtops -noturn -imagewidth 4 > `basename $$i .png`.ps; \ |
pngtopnm <$$i | pnmcrop | pnmtops -noturn -imagewidth 4 > `basename $$i .png`.ps; \ |
37 |
done |
donE |