summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNick White <git@njw.me.uk>2011-12-12 18:24:47 +0000
committerNick White <git@njw.me.uk>2011-12-12 18:24:47 +0000
commit0f69602bb5ee4552a04182dde0e0014c38bb69cf (patch)
tree08f3ef00ab1e73d7f863939a858e4922e485722c /Makefile
parent09d374429159c989651f89b127bd7754f3c7202d (diff)
Add options to gecko browsers
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 03a96e4..5ca3854 100644
--- a/Makefile
+++ b/Makefile
@@ -79,10 +79,12 @@ dist:
xpi: $(KEYFILE)
rm -rf $(NAME)-$(VERSION).xpi gecko-build
- mkdir -p gecko-build/chrome/content
+ mkdir -p gecko-build/chrome/content gecko-build/defaults/preferences
sed 2q < COPYING > gecko-build/COPYING
- cp gecko/chrome.manifest gecko-build/
+ cp gecko/chrome.manifest gecko/options.xul gecko-build/
cp gecko/chrome/content/simplyread.xul gecko-build/chrome/content/
+ cp gecko/defaults/preferences/prefs.js gecko-build/defaults/preferences/
+ patch < gecko/js.patch > /dev/null
cp simplyread.js gecko-build/chrome/content/
cat viable.js gecko/viablehook.js > gecko-build/chrome/content/viable.js
rsvg -w 22 -h 22 icon.svg gecko-build/chrome/content/icon.png
@@ -91,6 +93,7 @@ xpi: $(KEYFILE)
< gecko/install.ttl | rapper -i turtle -o rdfxml /dev/stdin 2>/dev/null > gecko-build/install.rdf
cd gecko-build; zip -r ../$(NAME)-$(VERSION).xpi . 1>/dev/null
rm -rf gecko-build
+ patch -R < gecko/js.patch > /dev/null
echo $(NAME)-$(VERSION).xpi
crx: $(KEYFILE)