transbeam/resources/Makefile

23 lines
624 B
Makefile
Raw Permalink Normal View History

2022-04-29 15:25:47 -04:00
density := 600
icons := transbeam.svg favicon.ico transbeam-192.png transbeam-512.png transbeam-apple.png
icons: $(icons)
%.svg: %.asy transbeam-common.asy
asy -f svg $<
transbeam-apple.png: transbeam.svg
convert -density $(density) -background white $< -resize 192x192 -extent 192x192 $@
transbeam-%.png: transbeam-%.svg
convert -density $(density) -background transparent $< -resize $*x$* -extent $*x$* $@
favicon.ico: transbeam-16.png transbeam-32.png transbeam-48.png transbeam-64.png
convert -background transparent $^ $@
install: icons
2022-04-30 01:46:21 -04:00
cp $(icons) ../static/images/site-icons/
2022-04-29 15:25:47 -04:00
clean:
rm *.svg *.png *.ico