From 5f85582e6e76042e253b51d7c943cb1533f4e3b4 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Sun, 29 Jan 2023 17:48:24 +0100 Subject: update makefiles --- anki-card-template/makefile | 2 -- makefile | 19 +++++++++++++++++++ 2 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 makefile diff --git a/anki-card-template/makefile b/anki-card-template/makefile index f567bab..5024266 100644 --- a/anki-card-template/makefile +++ b/anki-card-template/makefile @@ -11,5 +11,3 @@ front-template.html: card.min.js card.min.css template.html.m4 clean: $(RM) back-template.html front-template.html card.min.js card.min.css -release: back-template.html front-template.html - gh release create --latest -t "card template `git describe --tags`" `git describe --tags` $^ diff --git a/makefile b/makefile new file mode 100644 index 0000000..8f834fb --- /dev/null +++ b/makefile @@ -0,0 +1,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 -BC yomichan yomichan-chrome-patched.zip + +anki-card-template/back-template.html anki-card-template/front-template.html: + make -BC anki-card-template + +yomichan-user/yomichan-user.css yomichan-user/yomichan-user.js: + make -BC yomichan-user + +release: $(ARTIFACTS) + gh release create --latest -t "`git describe --tags`" `git describe --tags` $^ -- cgit v1.2.3