3 STEPMAKE_TEMPLATES=documentation
4 XPM_FILES=$(wildcard *.xpm)
5 OUTGIF_FILES = $(addprefix $(outdir)/,$(XPM_FILES:.xpm=.gif))
6 OUTPNG_FILES = $(addprefix $(outdir)/,$(XPM_FILES:.xpm=.png))
8 EXTRA_DIST_FILES= $(XPM_FILES)
9 OUT_DIST_FILES = $(icon) #$(package-icon)
11 icon = $(outdir)/lilypond.ico
14 #$(outdir)/lilypond.ico: platte-lucht-kikker-ly-48.xpm
16 include $(depth)/make/stepmake.make
19 local-dist: $(icon) # $(package-icon)
21 $(outdir)/%.ico: $(ICON_SIZES:%=$(outdir)/\%-%.png) $(ICON_SIZES:%=$(outdir)/\%-%-8.png)
22 #convert +adjoin $^ $@
23 icotool --output=$@ --create $^
25 # cancel default rule that breaks transparency
26 $(outdir)/%.png: %.xpm
28 $(outdir)/%-48.png: %-48.xpm
29 convert -sample 48 -depth 24 $< $@
31 $(outdir)/%-32.png: %-48.xpm
32 convert -depth 24 -sample 32 $< $@
34 $(outdir)/%-16.png: %-48.xpm
35 convert -depth 24 -sample 16 $< $@
37 $(outdir)/%-8.png: $(outdir)/%.png
38 convert -depth 8 $< $@
40 xgifs: $(OUTGIF_FILES)
43 local-WWW: $(OUTPNG_FILES)