From e87f29e017a75af15d228d537bc20b9fc78ace24 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Sun, 29 Jan 2023 17:42:29 +0100 Subject: update sentense-export to work with user.js --- yomichan-user/makefile | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 yomichan-user/makefile (limited to 'yomichan-user/makefile') 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 + -- cgit v1.2.3