aboutsummaryrefslogtreecommitdiff
path: root/yomichan-user/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'yomichan-user/makefile')
-rw-r--r--yomichan-user/makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/yomichan-user/makefile b/yomichan-user/makefile
index e0e543d..68a103b 100644
--- a/yomichan-user/makefile
+++ b/yomichan-user/makefile
@@ -2,27 +2,37 @@
M4FLAGS += -I./assets/
+JSMIN := uglifyjs
+CSSMIN := uglifycss
+
all: yomichan-user.js yomichan-user.css
user.js: conf.d/lib.js
+user.js: lib/handwriting.js/handwriting.canvas.js
+
user.js: conf.d/sentence-export.js
user.css: conf.d/sentence-export.css
user.css: conf.d/custom.css
user.js: conf.d/word-export.js
user.css: conf.d/word-export.css
user.js: conf.d/shortcuts.js
+user.js: conf.d/handwriting.js
+user.css: conf.d/handwriting.css
include ../common.mk
assets/copy.svg.b64: assets/copy.svg
assets/copy-bitmap.svg.b64: assets/copy-bitmap.svg
+assets/draw.svg.b64: assets/draw.svg
GARBAGE += assets/copy.svg.b64
GARBAGE += assets/copy-bitmap.svg.b64
+GARBAGE += assets/draw.svg.b64
# extra dependencies
conf.d/sentence-export.css: assets/copy.svg.b64
conf.d/sentence-export.css: conf.d/sentence-export.css.m4
conf.d/word-export.css: assets/copy-bitmap.svg.b64
+conf.d/handwriting.css: assets/draw.svg.b64
user.js:
cat $^ > $@