summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNick White <git@njw.me.uk>2010-11-13 21:06:41 +0000
committerNick White <git@njw.me.uk>2010-11-13 21:06:41 +0000
commit1b483bb48a316bb634a84db5b33c00f9b8883b61 (patch)
tree38d48f96850e97cf8e722ab67466f3a1cbb189ed /Makefile
parent2b4521d90cdb3e5fe0b29d681eec0b899cb81d4b (diff)
Add crx creation script (untested)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 2 insertions, 3 deletions
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