#
#
-# Makefile for converting images from png to pdf
+# All the base Bacula images are .png. They can start out
+# as jpeg, gif, ... but we convert them to .png then
+# operate on them from there. For example, we need them
+# in eps and pdf format for some of the output.
#
+# Makefile for converting images from png to pdf
#
# If you don't like the scaling of an image, change it in the
# image_scales file. This is the file where image_convert.pl
# image_scales file and do 'make converteps'.
#
-# png images
-IMAGES = bacula-applications \
- bacula-objects \
- Bacula-tray-monitor \
- bimagemgr1 \
- bimagemgr2 \
- bimagemgr3 \
- Conf-Diagram \
- win32-finish \
- win32-location \
- win32-nsis \
- win32-pkg \
- win32-service-ok \
- win32-service \
- win32-start \
- win32-welcome \
- access-is-denied \
- confirm \
- flow \
- menu \
- philosophical-gnu-sm \
- properties-security-advanced-owner \
- properties-security \
- tray-icon \
- view-only \
- back \
- bacula-logo \
- bclogo \
- error \
- file \
- home \
- idle \
- md5 \
- next \
- running \
- smartall \
- thanks
+# Base png images
+IMAGES = \
+ access-is-denied \
+ back \
+ bacula-applications \
+ bacula-logo \
+ bacula-objects \
+ Bacula-tray-monitor \
+ bat_icon \
+ bclogo \
+ bimagemgr1 \
+ bimagemgr2 \
+ bimagemgr3 \
+ bweb-index \
+ bweb-report \
+ Conf-Diagram \
+ confirm \
+ error \
+ file \
+ flow \
+ home \
+ idle \
+ md5 \
+ menu \
+ next \
+ philosophical-gnu-sm \
+ prev \
+ properties-security-advanced-owner \
+ properties-security \
+ running \
+ smartall \
+ thanks \
+ tray-icon \
+ up \
+ view-only \
+ win32-config \
+ win32-finish \
+ win32-installation-type \
+ win32-installing \
+ win32-location \
+ win32-menu \
+ win32-nsis \
+ win32-pkg \
+ win32-service-ok \
+ win32-service \
+ win32-start \
+ win32-welcome \
+ wx-console-restore1 \
+ wx-console-restore2 \
+ xp-control-panel \
+ xp-windows-firewall-advanced \
+ xp-windows-firewall-advanced-settings-after \
+ xp-windows-firewall-advanced-settings-before \
+ xp-windows-firewall-advanced-settings-service-details \
+ xp-windows-firewall
# xp-control-panel
# xp-windows-firewall-advanced \
# xp-windows-firewall
-# jpg images
+# jpg images
JPGIMAGES = xp-control-panel \
xp-windows-firewall-advanced \
xp-windows-firewall-advanced-settings-after \
smartall \
thanks
-
+TIFIMAGES = \
+ ba-ca-logo
first_rule: all
.SUFFIXES: .texi .html .pdf
.PHONY:
-all: convert
+all: convertpdf converteps
# Convert png images to pdf (texinfo needs both)
convertpdf:
# Convert any png images to eps (for LaTeX)
converteps:
+ chmod 755 image_convert.pl
(for i in ${IMAGES} ; do \
pngtopnm $${i}.png | pnmtops -scale=0.65 --noturn -nosetpage >$${i}.eps; \
./image_convert.pl --scalefile=image_scales --defaultscale=0.65 --resolution=140 --maxx=5 --maxy=8 $${i}.png hires/$${i}.eps; \
(for i in ${GIFIMAGES} ; do \
giftopnm $${i}.gif | pnmtopng >$${i}.png ; \
done)
+
+converttif:
+ (for i in ${TIFIMAGES} ; do \
+ convert -geometry 250x $${i}.tif $${i}.png ; \
+ done)
clean:
@rm -f 1 2 3