root / trunk / build / distribution / IzPack / src / doc / img / Makefile @ 21757
History | View | Annotate | Download (688 Bytes)
1 |
# don't use eps2pdf, it's worse |
---|---|
2 |
EPSTOPDF=epstopdf |
3 |
|
4 |
DIAGRAMS=\ |
5 |
ch1-comparch.eps \ |
6 |
ch1-compinside.eps \ |
7 |
ch5-izpanel.eps |
8 |
|
9 |
EPSPICTURES=\ |
10 |
ch1-import.eps \ |
11 |
userInput-IP.eps \ |
12 |
userInput-email.eps \ |
13 |
userInput-phone.eps \ |
14 |
userInput-serial.eps |
15 |
|
16 |
PNGPICTURES=\ |
17 |
userInput-search.png \ |
18 |
compilePanel.png \ |
19 |
CompilerListener.png \ |
20 |
InstallerListener.png \ |
21 |
UninstallerListener.png |
22 |
|
23 |
DESTFILES=\ |
24 |
$(EPSPICTURES:.eps=.png) \ |
25 |
$(PNGPICTURES:.png=.eps) \ |
26 |
$(DIAGRAMS:.eps=.pdf) |
27 |
|
28 |
.PHONY: all |
29 |
all: $(DESTFILES) |
30 |
|
31 |
.PHONY: clean |
32 |
clean: |
33 |
rm -f $(DESTFILES) |
34 |
|
35 |
%.png: %.eps |
36 |
convert $< $@ |
37 |
|
38 |
%.eps: %.png |
39 |
convert $< $@ |
40 |
|
41 |
%.pdf: %.eps |
42 |
$(EPSTOPDF) $< --outfile=$@ |
43 |
|