diff options
author | lonkaars <loek@pipeframe.xyz> | 2023-05-02 11:57:49 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2023-05-02 11:57:49 +0200 |
commit | f6c55448d48585ea366b2e2ce0d1784416593bb0 (patch) | |
tree | 5d15eb92d1dd9ec5f33e1ba0fd79d2ef325aaa3b /yomichan-user | |
parent | 12f9f3021bc1aa0a4520cc16c9e7e3c8cc4c1c1f (diff) |
cleanup yomichan user folder
Diffstat (limited to 'yomichan-user')
-rw-r--r-- | yomichan-user/assets/copy-bitmap.svg (renamed from yomichan-user/copy-bitmap.svg) | 0 | ||||
-rw-r--r-- | yomichan-user/assets/copy.svg (renamed from yomichan-user/copy.svg) | 0 | ||||
-rw-r--r-- | yomichan-user/makefile | 17 |
3 files changed, 11 insertions, 6 deletions
diff --git a/yomichan-user/copy-bitmap.svg b/yomichan-user/assets/copy-bitmap.svg index f2b157b..f2b157b 100644 --- a/yomichan-user/copy-bitmap.svg +++ b/yomichan-user/assets/copy-bitmap.svg diff --git a/yomichan-user/copy.svg b/yomichan-user/assets/copy.svg index ff2f5a9..ff2f5a9 100644 --- a/yomichan-user/copy.svg +++ b/yomichan-user/assets/copy.svg diff --git a/yomichan-user/makefile b/yomichan-user/makefile index 21b41d5..e0e543d 100644 --- a/yomichan-user/makefile +++ b/yomichan-user/makefile @@ -1,4 +1,6 @@ -.PHONY: clean +.PHONY: clean all + +M4FLAGS += -I./assets/ all: yomichan-user.js yomichan-user.css @@ -12,13 +14,15 @@ user.js: conf.d/shortcuts.js include ../common.mk -copy.svg.b64: copy.svg -copy-bitmap.svg.b64: copy-bitmap.svg +assets/copy.svg.b64: assets/copy.svg +assets/copy-bitmap.svg.b64: assets/copy-bitmap.svg +GARBAGE += assets/copy.svg.b64 +GARBAGE += assets/copy-bitmap.svg.b64 -conf.d/sentence-export.css: copy.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: copy-bitmap.svg.b64 +conf.d/word-export.css: assets/copy-bitmap.svg.b64 user.js: cat $^ > $@ @@ -36,4 +40,5 @@ yomichan-user.css: header.txt user.min.css clean: $(RM) user.js user.css user.min.js user.min.css header.txt yomichan-user.css yomichan-user.js + $(RM) $(GARBAGE) |