2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
*.png
|
||||||
|
dragn-emoji.tar.gz
|
||||||
17
Makefile
Normal file
17
Makefile
Normal 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
|
||||||
Reference in New Issue
Block a user