summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAlex Xu <alex_y_xu@yahoo.ca>2014-02-25 17:28:50 -0500
committerAlex Xu <alex_y_xu@yahoo.ca>2014-02-25 17:28:50 -0500
commit7dc90523db9097b00c5f49ad9c9e3c4fb36719ce (patch)
treecff117789da644cf918fe8875808fbb2764670a7 /Makefile
parentced7ede3cd0853c9954bda518aaf546d3a0e5389 (diff)
downloadhtml5ks-7dc90523db9097b00c5f49ad9c9e3c4fb36719ce.tar.xz
html5ks-7dc90523db9097b00c5f49ad9c9e3c4fb36719ce.zip
bleh more
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 1eefe38..6047e70 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@ SPACE := $(null) $(null)
FFMPEG ?= ffmpeg -v warning -y
CWEBP ?= cwebp
-CWEBP += -short -alpha_cleanup
+CWEBP += -quiet -alpha_cleanup
WEBPMUX ?= webpmux
CONVERT ?= convert
APNGASM ?= apngasm
@@ -11,7 +11,7 @@ UGLIFYJS ?= uglifyjs
ifdef MINIMAL
ZOPFLIPNG ?= :
DEFLOPT ?= :
-DEFLUFF ?= :
+DEFLUFF ?= cat
PNGQUANT ?= :
else
ZOPFLIPNG ?= zopflipng
@@ -129,7 +129,7 @@ $(DUMP)/ui/bt-cf-unchecked.webp $(DUMP)/ui/bt-cf-checked.webp: %.webp: %.png
mv -f "$<".tmp "$<"
$(DUMP)/ui/ctc_strip-0.png: $(CTC_ANIM_SRC)
- $(CONVERT) "$<" -crop 16x16 $(patsubst %.png,%*.png,$<)
+ $(CONVERT) "$<" -crop 16x16 $(DUMP)/ui/ctc_strip-%d.png
$(DUMP)/ui/ctc_strip-%.png: $(CTC_ANIM_SRC) $(DUMP)/ui/ctc_strip-0.png
@touch -r "$(DUMP)/ui/ctc_strip-0.png" "$@"