3 # Makefile for converting images from png to pdf
6 # If you don't like the scaling of an image, change it in the
7 # image_scales file. This is the file where image_convert.pl
8 # keeps its list of how images should be scaled, and scale
9 # factors in this file will be used preferentially (There was a
10 # bug so it didn't do this until now). If you change an image
11 # and want it automatically rescaled, delete it's line from the
12 # image_scales file and do 'make converteps'.
16 IMAGES = bacula-applications \
35 philosophical-gnu-sm \
36 properties-security-advanced-owner \
54 # xp-windows-firewall-advanced \
55 # xp-windows-firewall-advanced-settings-after \
56 # xp-windows-firewall-advanced-settings-before \
57 # xp-windows-firewall-advanced-settings-service-details \
62 JPGIMAGES = xp-control-panel \
63 xp-windows-firewall-advanced \
64 xp-windows-firewall-advanced-settings-after \
65 xp-windows-firewall-advanced-settings-before \
66 xp-windows-firewall-advanced-settings-service-details \
88 .SUFFIXES: .texi .html .pdf
93 # Convert png images to pdf (texinfo needs both)
95 (for i in ${IMAGES} ; do \
96 pngtopnm $${i}.png | pnmtops -scale=0.85 --noturn -nosetpage | epstopdf --filter >$${i}.pdf ; \
99 # Convert any png images to eps (for LaTeX)
101 (for i in ${IMAGES} ; do \
102 pngtopnm $${i}.png | pnmtops -scale=0.65 --noturn -nosetpage >$${i}.eps; \
103 ./image_convert.pl --scalefile=image_scales --defaultscale=0.65 --resolution=140 --maxx=5 --maxy=8 $${i}.png hires/$${i}.eps; \
106 # Convert any JPEG images to png
108 (for i in ${JPGIMAGES} ; do \
109 jpegtopnm $${i}.jpg | pnmtopng >$${i}.png ; \
112 # Convert any GIF images to png
114 (for i in ${GIFIMAGES} ; do \
115 giftopnm $${i}.gif | pnmtopng >$${i}.png ; \