comparison Makefile @ 31:e22195f84c6d

Adjust command line options to Inkscape 1.0
author Guido Berhoerster <guido+tab-mover@berhoerster.name>
date Mon, 01 Mar 2021 11:11:22 +0100
parents b1b1f2737249
children df8ade6f65c4
comparison
equal deleted inserted replaced
30:834e58df10da 31:e22195f84c6d
51 $(INFOZIP) $@ $^ 51 $(INFOZIP) $@ $^
52 52
53 define generate-icon-rule 53 define generate-icon-rule
54 $1: $(1:%-$(lastword $(subst -, ,$1))=%.svg) 54 $1: $(1:%-$(lastword $(subst -, ,$1))=%.svg)
55 size=$(lastword $(subst -, ,$(basename $1))); \ 55 size=$(lastword $(subst -, ,$(basename $1))); \
56 $(INKSCAPE) -w $$$${size} -h $$$${size} -e $$@ $$< 56 $(INKSCAPE) -w $$$${size} -h $$$${size} -o $$@ $$<
57 endef 57 endef
58 58
59 $(foreach icon,$(BITMAP_ICONS),$(eval $(call generate-icon-rule,$(icon)))) 59 $(foreach icon,$(BITMAP_ICONS),$(eval $(call generate-icon-rule,$(icon))))
60 60
61 manifest.json: manifest.json.in 61 manifest.json: manifest.json.in