From ce7ffb6c1c4e4e92acdcd5a36a02171a7e4fdac4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juhani=20Krekel=C3=A4?= Date: Tue, 23 Feb 2021 05:14:41 +0200 Subject: [PATCH] Add build system --- .gitignore | 1 + Makefile | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 .gitignore create mode 100644 Makefile diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c4c4ffc --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*.zip diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..0b01c53 --- /dev/null +++ b/Makefile @@ -0,0 +1,13 @@ +FILES=icons/error-32.png icons/error-48.png icons/error-96.png icons/icon-32.png icons/icon-48.png icons/icon-96.png icons/processing-32.png icons/processing-48.png icons/processing-96.png manifest.json background.js CC0 +.PHONY: all clean distclean + +all: autobookmarker.zip + +autobookmarker.zip: $(FILES) + rm -f autobookmarker.zip + zip -r $@ $(FILES) + +clean: + rm -f autobookmarker.zip + +distclean: clean