From bf340e9f5ed22058877af1878c85c16de1dd8904 Mon Sep 17 00:00:00 2001 From: Nick White Date: Sat, 21 May 2011 12:54:14 +0100 Subject: Make chromium extension a page action --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 4d2ca16..b3b3659 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,7 @@ NAME = simplyread VERSION = 0.4 +WEBSITE = http://njw.me.uk/software/$(NAME)/ +KEYFILE = private.pem all: web/chromium-updates.xml web/index.html dist xpi crx @@ -45,10 +47,10 @@ xpi: crx: rm -rf chromium-build mkdir chromium-build - cp COPYING simplyread.js keybind.js chromium/background.html chromium-build/ + cp COPYING simplyread.js keybind.js chromium/viable.js chromium/background.html chromium-build/ rsvg chromium/icon.svg chromium-build/icon.png sed "s/VERSION/$(VERSION)/g" < chromium/manifest.json > chromium-build/manifest.json - sh chromium/makecrx.sh chromium-build chromium/private.pem > web/$(NAME)-$(VERSION).crx + sh chromium/makecrx.sh chromium-build $(KEYFILE) > web/$(NAME)-$(VERSION).crx rm -r chromium-build gpg -b < web/$(NAME)-$(VERSION).crx > web/$(NAME)-$(VERSION).crx.sig echo web/$(NAME)-$(VERSION).crx web/$(NAME)-$(VERSION).crx.sig -- cgit v1.2.3