Merge branch 'master' of github.com:chr-1x/dragn-emoji

This commit is contained in:
khr
2022-12-16 20:13:40 -08:00
2 changed files with 19 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
*.png
dragn-emoji.tar.gz

17
Makefile Normal file
View File

@@ -0,0 +1,17 @@
SVGS := $(wildcard *.svg)
PNGS := $(SVGS:%.svg=%.png)
.PHONY: clean
dragn-emoji.tar.gz: $(PNGS)
tar -c $? | gzip > $@
%.nooptim.png: %.svg
magick convert -background none -geometry 256x256 $< $@
%.png: %.nooptim.png
oxipng -o max --out $@ $<
clean:
find . -maxdepth 1 -name '*.png' -delete
rm -f dragn-emoji.tar.gz