summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2020-04-17 11:25:33 +0200
committerYorhel <git@yorhel.nl>2020-04-17 11:25:33 +0200
commit6c4e13cc8112463bc715f5c60f7b392b40e0c745 (patch)
treeea9e1af5abf3ff46128d66e91ae7aa5f59eaf250 /Makefile
parentb14d888f17ff189508f6005352b6dafbccefeafa (diff)
Makefile: Minor fixes with zopflipng overwriting and parallel make
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e1033b03..953cd1c2 100644
--- a/Makefile
+++ b/Makefile
@@ -82,11 +82,13 @@ chmod: all
# v2 & v2-rw
-data/icons/icons.css static/f/icons.png: data/icons/*.png data/icons/*/*.png util/spritegen.pl | static/f
+data/icons/icons.css: data/icons/*.png data/icons/*/*.png util/spritegen.pl | static/f
util/spritegen.pl
+
static/f/icons.png: data/icons/icons.css
static/f/icons.opt.png: static/f/icons.png
+ rm -f $@
zopflipng -m --lossy_transparent $< $@
static/s/%/style.css: static/s/%/conf util/skingen.pl data/style.css data/icons/icons.css