diff options
author | Alex Xu <alex_y_xu@yahoo.ca> | 2014-02-25 17:28:50 -0500 |
---|---|---|
committer | Alex Xu <alex_y_xu@yahoo.ca> | 2014-02-25 17:28:50 -0500 |
commit | 7dc90523db9097b00c5f49ad9c9e3c4fb36719ce (patch) | |
tree | cff117789da644cf918fe8875808fbb2764670a7 /Makefile | |
parent | ced7ede3cd0853c9954bda518aaf546d3a0e5389 (diff) | |
download | html5ks-7dc90523db9097b00c5f49ad9c9e3c4fb36719ce.tar.xz html5ks-7dc90523db9097b00c5f49ad9c9e3c4fb36719ce.zip |
bleh more
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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" "$@" |