diff options
-rw-r--r-- | makefile | 5 | ||||
-rw-r--r-- | yomichan/makefile | 6 |
2 files changed, 5 insertions, 6 deletions
@@ -7,14 +7,13 @@ ARTIFACTS := yomichan/yomichan-chrome-patched.zip \ all: $(ARTIFACTS) yomichan/yomichan-chrome-patched.zip: - make -C yomichan clean make -C yomichan yomichan-chrome-patched.zip anki-card-template/back-template.html anki-card-template/front-template.html: - make -BC anki-card-template + make -C anki-card-template yomichan-user/yomichan-user.css yomichan-user/yomichan-user.js: - make -BC yomichan-user + make -C yomichan-user release: $(ARTIFACTS) gh release create --latest -t "`git describe --tags`" `git describe --tags` $^ diff --git a/yomichan/makefile b/yomichan/makefile index 9dd993d..6ac8f6a 100644 --- a/yomichan/makefile +++ b/yomichan/makefile @@ -1,6 +1,6 @@ -all: +all: patch -.PHONY: clean patch download backup +.PHONY: clean patch download backup yomichan include ../common.mk @@ -23,7 +23,7 @@ yomichan-chrome.zip: curl https://github.com/FooSoft/yomichan/releases/latest/download/$@ -Lso- > $@ yomichan: yomichan-chrome.zip - unzip -qo yomichan-chrome.zip -d yomichan + unzip -qo $< -d $@ yomichan/manifest.json.bak: cp yomichan/manifest.json $@ |