3 BITMAP_IMAGES = $(call src-wildcard,*.png) $(call src-wildcard,*.jpg)
4 EPS_ILLUSTRATIONS = $(call src-wildcard,*.eps)
5 SVG_FILES = $(call src-wildcard,*.svg)
6 PDF_DIR = $(call src-wildcard,pdf/*.pdf)
8 OUT_PDF_IMAGES = $(EPS_ILLUSTRATIONS:%.eps=$(outdir)/%.pdf)
9 OUT_BITMAP_IMAGES = $(BITMAP_IMAGES:%=$(outdir)/%)
10 OUT_BITMAP_IMAGES += $(EPS_ILLUSTRATIONS:%.eps=$(outdir)/%.png)
12 STEPMAKE_TEMPLATES = documentation
14 include $(depth)/make/stepmake.make
22 local-WWW-1: $(OUT_BITMAP_IMAGES) $(OUT_PDF_IMAGES)
28 $(outdir)/%-flat-gray.png: %-flat-gray.png
29 convert -depth 8 -geometry 50x50% $< $@
31 $(outdir)/%-flat-bw.png: %-flat-bw.png
32 convert -depth 8 -geometry 50x50% $< $@
34 $(outdir)/%.png: %.png
37 $(outdir)/%.jpg: %.jpg
40 $(outdir)/%.png: %.eps
41 gs -dTextAlphaBits=4 -dGraphicsAlphaBits=4 -q -sOutputFile=$@ -sDEVICE=png16m -dEPSCrop -dNOPAUSE -f $< -c quit
43 $(outdir)/%.pdf: %.eps
44 gs -dAutoRotatePages=/None -q -sDEVICE=pdfwrite -dNOPAUSE -dBATCH -sOutputFile=$@ -dEPSCrop -c .setpdfwrite -f $<