From 1b483bb48a316bb634a84db5b33c00f9b8883b61 Mon Sep 17 00:00:00 2001 From: Nick White Date: Sat, 13 Nov 2010 21:06:41 +0000 Subject: Add crx creation script (untested) --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 0564ee6..f754f33 100644 --- a/Makefile +++ b/Makefile @@ -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 -- cgit v1.2.3