aboutsummaryrefslogtreecommitdiff
path: root/makefile
blob: 32a6cfe6875dfa8020928d4bd83d6e5ed8cbdd58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
ARTIFACTS := yomichan/yomichan-chrome-patched.zip \
	yomichan-user/yomichan-user.css \
	yomichan-user/yomichan-user.js \
	anki-card-template/back-template.html \
	anki-card-template/front-template.html

all: $(ARTIFACTS)

yomichan/yomichan-chrome-patched.zip:
	$(MAKE) -C yomichan yomichan-chrome-patched.zip

anki-card-template/back-template.html anki-card-template/front-template.html:
	$(MAKE) -C anki-card-template

yomichan-user/yomichan-user.css yomichan-user/yomichan-user.js:
	$(MAKE) -C yomichan-user

release: $(ARTIFACTS)
	gh release create --latest -t "`git describe --tags`" `git describe --tags` $^