aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2011-09-07 21:09:25 +0200
committerMatěj Cepl <mcepl@redhat.com>2011-10-30 11:03:04 +0100
commitead3b9bcd8f3a0306a9b2fbd1fd644e7960fb1c4 (patch)
treedee2a49a5e6ff04e5fca1c8aef8954cb40a28fe8
parent60f8e79f8e10788e63fca9dd36bf4e5234ec7491 (diff)
downloadbugzilla-triage-ead3b9bcd8f3a0306a9b2fbd1fd644e7960fb1c4.tar.gz
Generate AMO copmatible .xpi
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 118d74d..44eb3f4 100644
--- a/Makefile
+++ b/Makefile
@@ -9,6 +9,14 @@ install: local-install
make -C $(WEBDIR)
websync
+amo: bugzilla-triage.xpi
+ mv bugzilla-triage.xpi bugzilla-triage.zip
+ unzip -qp bugzilla-triage.zip install.rdf \
+ |grep -v 'em:updateURL' >temp-install.rdf
+ mv -f temp-install.rdf install.rdf
+ zip -9qmT bugzilla-triage.zip install.rdf
+ mv -f bugzilla-triage.zip bugzilla-triage.xpi
+
local-install: bugzilla-triage-$(VERNO).xpi update.rdf
rsync -av bugzilla-triage*.xpi $(WEBDIR)
rsync -av jsons/Config_data.json $(WEBDIR)