source: obsolete/trunk/VUT/doc/SciReport/plots/makefile @ 243

Revision 243, 400 bytes checked in by bittner, 19 years ago (diff)

SciReport? template

Line 
1
2FIG := $(shell ls *.fig)
3
4EPS := $(shell ls *.eps) ${FIG:.fig=.eps}
5
6PDF = ${EPS:.eps=.pdf} ${FIG:.fig=.pdf}
7
8
9DEFAULT: $(EPS) $(PDF)
10
11pdf:
12        @make $(PDF)
13
14eps:
15        @make $(EPS)
16
17clean:
18        rm -f ${FIG:.fig=.eps} $(PDF)
19
20
21.SUFFIXES: .fig .eps .pdf
22
23.fig.eps:
24        @echo "Converting $< to $@ ..."
25        @fig2dev -L eps $< $@
26        @echo "done."
27
28.eps.pdf:
29        @echo "Converting $< to $@ ..."
30        @epstopdf $<
31        @echo "done."
32
Note: See TracBrowser for help on using the repository browser.