|
Lines 56-61
Link Here
|
| 56 |
IMAGES_PNG=${IMAGES:M*.png} ${IMAGES_GEN_PNG} |
56 |
IMAGES_PNG=${IMAGES:M*.png} ${IMAGES_GEN_PNG} |
| 57 |
IMAGES_EPS=${IMAGES:M*.eps} ${IMAGES_GEN_EPS} |
57 |
IMAGES_EPS=${IMAGES:M*.eps} ${IMAGES_GEN_EPS} |
| 58 |
|
58 |
|
|
|
59 |
# The default resolution eps2png (82) assumes a 640x480 monitor, and is too |
| 60 |
# low for the typical monitor in use today. The resolution of 100 looks |
| 61 |
# much better on these monitors without making the image too large for |
| 62 |
# a 640x480 monitor. |
| 63 |
PNG_RES?= 100 |
| 64 |
|
| 59 |
# We only need to list ${IMAGES_GEN_PDF} here. If all the source files are |
65 |
# We only need to list ${IMAGES_GEN_PDF} here. If all the source files are |
| 60 |
# EPS then they'll be in this variable; if any of the source files are PNG |
66 |
# EPS then they'll be in this variable; if any of the source files are PNG |
| 61 |
# then we can use them directly, and don't need to list them. |
67 |
# then we can use them directly, and don't need to list them. |
|
Lines 68-74
Link Here
|
| 68 |
|
74 |
|
| 69 |
.for _curimage in ${IMAGES_GEN_PNG} |
75 |
.for _curimage in ${IMAGES_GEN_PNG} |
| 70 |
${_curimage}: ${_curimage:S/.png$/.eps/} |
76 |
${_curimage}: ${_curimage:S/.png$/.eps/} |
| 71 |
eps2png -output ${.TARGET} ${.ALLSRC} |
77 |
eps2png -res ${PNG_RES} -output ${.TARGET} ${.ALLSRC} |
| 72 |
.endfor |
78 |
.endfor |
| 73 |
|
79 |
|
| 74 |
.for _curimage in ${IMAGES_GEN_EPS} |
80 |
.for _curimage in ${IMAGES_GEN_EPS} |