aboutsummaryrefslogtreecommitdiff
path: root/yomichan-user/makefile
blob: b965974477e6f76169e02fecc2b37ff59a947928 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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