summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNick White <git@njw.me.uk>2011-05-22 02:54:18 +0100
committerNick White <git@njw.me.uk>2011-05-22 02:54:18 +0100
commit18351dea2ee53e26b7fbdf7c037dbe715fb66ceb (patch)
tree44fed576f291256da1578c74bd38fe64827e64b9 /Makefile
parentf1199cdcf7ebcde4b6cc69c70319e60245344601 (diff)
Use the same icon everywhere
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 38644a5..a4c1629 100644
--- a/Makefile
+++ b/Makefile
@@ -37,7 +37,7 @@ xpi:
cp COPYING gecko/chrome.manifest gecko-build/
cp gecko/chrome/content/simplyread.xul gecko-build/chrome/content/
cp simplyread.js gecko-build/chrome/content/
- rsvg gecko/chrome/content/icon.svg gecko-build/chrome/content/icon.png
+ rsvg -w 22 -h 22 icon.svg gecko-build/chrome/content/icon.png
sed "s/VERSION/$(VERSION)/g" < gecko/install.ttl | rapper -i turtle -o rdfxml /dev/stdin 2>/dev/null > gecko-build/install.rdf
cd gecko-build; zip -r ../web/$(NAME)-$(VERSION).xpi . 1>/dev/null
gpg -b < web/$(NAME)-$(VERSION).xpi > web/$(NAME)-$(VERSION).xpi.sig
@@ -48,9 +48,9 @@ crx:
rm -rf chromium-build
mkdir chromium-build
cp COPYING simplyread.js keybind.js chromium/viable.js chromium/background.html chromium-build/
- rsvg -w 19 -h 19 chromium/icon.svg chromium-build/icon.png
- rsvg -w 48 -h 48 chromium/icon.svg chromium-build/icon48.png
- rsvg -w 128 -h 128 chromium/icon.svg chromium-build/icon128.png
+ rsvg -w 19 -h 19 icon.svg chromium-build/icon.png
+ rsvg -w 48 -h 48 icon.svg chromium-build/icon48.png
+ rsvg -w 128 -h 128 icon.svg chromium-build/icon128.png
sed "s/VERSION/$(VERSION)/g" < chromium/manifest.json > chromium-build/manifest.json
sh chromium/makecrx.sh chromium-build $(KEYFILE) > web/$(NAME)-$(VERSION).crx
rm -r chromium-build