source:
trunk/VUT/doc/SciReport/plots/makefile
@
243
Revision 243, 400 bytes checked in by bittner, 19 years ago (diff) |
---|
Rev | Line | |
---|---|---|
[243] | 1 | |
2 | FIG := $(shell ls *.fig) | |
3 | ||
4 | EPS := $(shell ls *.eps) ${FIG:.fig=.eps} | |
5 | ||
6 | PDF = ${EPS:.eps=.pdf} ${FIG:.fig=.pdf} | |
7 | ||
8 | ||
9 | DEFAULT: $(EPS) $(PDF) | |
10 | ||
11 | pdf: | |
12 | @make $(PDF) | |
13 | ||
14 | eps: | |
15 | @make $(EPS) | |
16 | ||
17 | clean: | |
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.