3 # All the base Bacula images are .png. They can start out
4 # as jpeg, gif, ... but we convert them to .png then
5 # operate on them from there. For example, we need them
6 # in eps and pdf format for some of the output.
8 # Makefile for converting images from png to pdf
10 # If you don't like the scaling of an image, change it in the
11 # image_scales file. This is the file where image_convert.pl
12 # keeps its list of how images should be scaled, and scale
13 # factors in this file will be used preferentially (There was a
14 # bug so it didn't do this until now). If you change an image
15 # and want it automatically rescaled, delete it's line from the
16 # image_scales file and do 'make converteps'.
44 philosophical-gnu-sm \
46 properties-security-advanced-owner \
56 win32-installation-type \
69 xp-windows-firewall-advanced \
70 xp-windows-firewall-advanced-settings-after \
71 xp-windows-firewall-advanced-settings-before \
72 xp-windows-firewall-advanced-settings-service-details \
76 # xp-windows-firewall-advanced \
77 # xp-windows-firewall-advanced-settings-after \
78 # xp-windows-firewall-advanced-settings-before \
79 # xp-windows-firewall-advanced-settings-service-details \
84 JPGIMAGES = xp-control-panel \
85 xp-windows-firewall-advanced \
86 xp-windows-firewall-advanced-settings-after \
87 xp-windows-firewall-advanced-settings-before \
88 xp-windows-firewall-advanced-settings-service-details \
111 .SUFFIXES: .texi .html .pdf
114 all: convertpdf converteps
116 # Convert png images to pdf (texinfo needs both)
118 (for i in ${IMAGES} ; do \
119 pngtopnm $${i}.png | pnmtops -scale=0.85 --noturn -nosetpage | epstopdf --filter >$${i}.pdf ; \
122 # Convert any png images to eps (for LaTeX)
124 chmod 755 image_convert.pl
125 (for i in ${IMAGES} ; do \
126 pngtopnm $${i}.png | pnmtops -scale=0.65 --noturn -nosetpage >$${i}.eps; \
127 ./image_convert.pl --scalefile=image_scales --defaultscale=0.65 --resolution=140 --maxx=5 --maxy=8 $${i}.png hires/$${i}.eps; \
130 # Convert any JPEG images to png
132 (for i in ${JPGIMAGES} ; do \
133 jpegtopnm $${i}.jpg | pnmtopng >$${i}.png ; \
136 # Convert any GIF images to png
138 (for i in ${GIFIMAGES} ; do \
139 giftopnm $${i}.gif | pnmtopng >$${i}.png ; \
143 (for i in ${TIFIMAGES} ; do \
144 convert -geometry 250x $${i}.tif $${i}.png ; \