massive overkill on the icons

This commit is contained in:
xenofem 2022-04-29 15:25:47 -04:00
parent 32738e4515
commit ba4c7bfcbe
15 changed files with 104 additions and 10 deletions

22
resources/Makefile Normal file
View file

@ -0,0 +1,22 @@
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
cp $(icons) ../static/
clean:
rm *.svg *.png *.ico