aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index f5eaced..ecda061 100644
--- a/Makefile
+++ b/Makefile
@@ -16,7 +16,8 @@ local-install: bugzilla-triage-$(VERNO).xpi update.rdf
rsync -av jsons/Config_data.json $(WEBDIR)
bugzilla-triage-$(VERNO).xpi: package.json lib/*.js
- cfx xpi --update-link=$(UPSTREAM_XPI_URL) --update-url=$(UPDATE_URL)
+ cfx xpi --strip-sdk --update-link=$(UPSTREAM_XPI_URL) \
+ --update-url=$(UPDATE_URL)
unzip -q bugzilla-triage.xpi install.rdf
sed -i -e '/em:minVersion/s!>[0-9.]*<!>7.0<!' install.rdf
zip -9qmT bugzilla-triage.xpi install.rdf
@@ -24,7 +25,7 @@ bugzilla-triage-$(VERNO).xpi: package.json lib/*.js
mv bugzilla-triage.xpi bugzilla-triage-$(VERNO).xpi
bugzilla-triage.xpi: package.json lib/*.js
- cfx xpi
+ cfx xpi --strip-sdk
update.rdf: bugzilla-triage-$(VERNO).xpi
tidy -i -xml -utf8 -m update.rdf