diff options
author | Nick White <git@njw.me.uk> | 2011-05-21 12:54:14 +0100 |
---|---|---|
committer | Nick White <git@njw.me.uk> | 2011-05-21 12:54:14 +0100 |
commit | bf340e9f5ed22058877af1878c85c16de1dd8904 (patch) | |
tree | fb1f1cd1ba6d4331645df8ce455b67e91e3ca3ae /Makefile | |
parent | 4cdb10438dad3fd4b9ecc8ef96538f4219b42e5e (diff) |
Make chromium extension a page action
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 |