aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2023-01-30 16:04:40 +0100
committerlonkaars <loek@pipeframe.xyz>2023-01-30 16:05:40 +0100
commitea06526ea33df1ae5b38065a87c72af1614ace22 (patch)
tree80afe29cf373c1645487a41a2ded9ed5c001ddaa
parentac337da14c501ffeed4d0c593753f8e5d547ecff (diff)
fix yomichan makefile
-rw-r--r--makefile5
-rw-r--r--yomichan/makefile6
2 files changed, 5 insertions, 6 deletions
diff --git a/makefile b/makefile
index cd4efb4..4577381 100644
--- a/makefile
+++ b/makefile
@@ -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 $@