Add flat-style keyboard svgs to makefile
This commit is contained in:
parent
e66d26d85f
commit
ae7afbbc5f
|
@ -67,6 +67,15 @@ tastatur3d/haupt_ziffern_feld/%.png: tastatur3d/hauptfeld/%.png tastatur3d/ziffe
|
||||||
inkscape --without-gui --export-png=$@ -w1000 $<
|
inkscape --without-gui --export-png=$@ -w1000 $<
|
||||||
optipng $@
|
optipng $@
|
||||||
|
|
||||||
|
FLATPNGS:=$(patsubst %.svg,%.png,$(wildcard flat/tastatur_e*.svg))
|
||||||
|
|
||||||
|
$(FLATPNGS): flat/tastatur.css flat/tastatur_base.svg
|
||||||
|
$(FLATPNGS): %.png: %.svg
|
||||||
|
sed -e "/^@import url('tastatur.css');$$/{r flat/tastatur.css" -e 'd;}' "$<" > "$<.imported.svg"
|
||||||
|
inkscape --without-gui --export-png="$@" "$<.imported.svg"
|
||||||
|
optipng "$@"
|
||||||
|
rm "$<.imported.svg"
|
||||||
|
|
||||||
|
|
||||||
.PHONY: default clean \
|
.PHONY: default clean \
|
||||||
pdf cleanpdf \
|
pdf cleanpdf \
|
||||||
|
|
Loading…
Reference in New Issue