diff options
author | Nick White <git@njw.me.uk> | 2010-11-13 21:06:41 +0000 |
---|---|---|
committer | Nick White <git@njw.me.uk> | 2010-11-13 21:06:41 +0000 |
commit | 1b483bb48a316bb634a84db5b33c00f9b8883b61 (patch) | |
tree | 38d48f96850e97cf8e722ab67466f3a1cbb189ed /Makefile | |
parent | 2b4521d90cdb3e5fe0b29d681eec0b899cb81d4b (diff) |
Add crx creation script (untested)
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -42,9 +42,8 @@ crx: simplyread.js chromium/icon.svg chromium/manifest.json chromium/background. @cp COPYING simplyread.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 - @chromium-browser --pack-extension=chromium-build - @mv chromium-build.crx $(NAME)-$(VERSION).crx - @rm -r chromium-build chromium-build.pem + @sh chromium/makecrx.sh chromium-build chromium/private.pem > $(NAME)-$(VERSION).crx + @rm -r chromium-build @gpg -b < $(NAME)-$(VERSION).crx > $(NAME)-$(VERSION).crx.sig @echo $(NAME)-$(VERSION).crx $(NAME)-$(VERSION).crx.sig |