diff options
author | lonkaars <loek@pipeframe.xyz> | 2023-01-29 17:42:29 +0100 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2023-01-29 17:42:29 +0100 |
commit | e87f29e017a75af15d228d537bc20b9fc78ace24 (patch) | |
tree | cc4a7b76192d32290b569bedbcd8fedec9d7cda2 /yomichan-user/makefile | |
parent | 34ea3829e7cb435a4357b43fcfff514fdd39083e (diff) |
update sentense-export to work with user.js
Diffstat (limited to 'yomichan-user/makefile')
-rw-r--r-- | yomichan-user/makefile | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/yomichan-user/makefile b/yomichan-user/makefile new file mode 100644 index 0000000..b965974 --- /dev/null +++ b/yomichan-user/makefile @@ -0,0 +1,32 @@ +.PHONY: clean + +all: yomichan-user.js yomichan-user.css + +user.js: conf.d/sentence-export.js +user.css: conf.d/sentence-export.css + +user.css: conf.d/custom.css + +include ../common.mk + +copy.svg.b64: copy.svg + +conf.d/sentence-export.css: copy.svg.b64 +conf.d/sentence-export.css: conf.d/sentence-export.css.m4 + +user.js: + cat $^ > $@ + +user.css: + cat $^ > $@ + +header.txt: header.txt.m4 + +yomichan-user.js: header.txt user.min.js + cat $^ > $@ +yomichan-user.css: header.txt user.min.css + cat $^ > $@ + +clean: + $(RM) user.js user.css user.min.js user.min.css header.txt yomichan-user.css yomichan-user.js + |