comparison Makefile @ 69:1b40603fd1bb

Update inkscape command line options
author Guido Berhoerster <guido+feed-preview@berhoerster.name>
date Sun, 03 Mar 2024 18:11:12 +0100
parents 744652abc028
children e405ff21ab31
comparison
equal deleted inserted replaced
68:fc5fca9af05f 69:1b40603fd1bb
71 $(INFOZIP) $@ $^ 71 $(INFOZIP) $@ $^
72 72
73 define generate-icon-rule 73 define generate-icon-rule
74 $1: $(1:%-$(lastword $(subst -, ,$1))=%.svg) 74 $1: $(1:%-$(lastword $(subst -, ,$1))=%.svg)
75 size=$(lastword $(subst -, ,$(basename $1))); \ 75 size=$(lastword $(subst -, ,$(basename $1))); \
76 $(INKSCAPE) -w $$$${size} -h $$$${size} -e $$@ $$< 76 $(INKSCAPE) --export-type=png -w $$$${size} -h $$$${size} -o $$@ $$<
77 endef 77 endef
78 78
79 $(foreach icon,$(BITMAP_ICONS),$(eval $(call generate-icon-rule,$(icon)))) 79 $(foreach icon,$(BITMAP_ICONS),$(eval $(call generate-icon-rule,$(icon))))
80 80
81 manifest.json: manifest.json.in 81 manifest.json: manifest.json.in