diff options
author | Matěj Cepl <mcepl@redhat.com> | 2011-09-07 21:09:25 +0200 |
---|---|---|
committer | Matěj Cepl <mcepl@redhat.com> | 2011-10-30 11:16:11 +0100 |
commit | 2eb7a75b8a7a5edbd350815bef678b1f67d2c7c1 (patch) | |
tree | 12fb32ce78de8512ea289f548b0caaa7830e0729 | |
parent | 60f8e79f8e10788e63fca9dd36bf4e5234ec7491 (diff) | |
download | bugzilla-triage-2eb7a75b8a7a5edbd350815bef678b1f67d2c7c1.tar.gz |
Generate AMO copmatible .xpi
-rw-r--r-- | Makefile | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -9,8 +9,16 @@ install: local-install make -C $(WEBDIR) websync -local-install: bugzilla-triage-$(VERNO).xpi update.rdf - rsync -av bugzilla-triage*.xpi $(WEBDIR) +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.xpi update.rdf + rsync -av bugzilla-triage.xpi $(WEBDIR) rsync -av jsons/Config_data.json $(WEBDIR) bugzilla-triage-$(VERNO).xpi: package.json lib/*.js |