From ea06526ea33df1ae5b38065a87c72af1614ace22 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Mon, 30 Jan 2023 16:04:40 +0100 Subject: fix yomichan makefile --- makefile | 5 ++--- yomichan/makefile | 6 +++--- 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 $@ -- cgit v1.2.3