aboutsummaryrefslogtreecommitdiff
path: root/src/js/firefox/build.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/js/firefox/build.mk')
-rw-r--r--src/js/firefox/build.mk10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/js/firefox/build.mk b/src/js/firefox/build.mk
index 6d2e20a..9f1caa8 100644
--- a/src/js/firefox/build.mk
+++ b/src/js/firefox/build.mk
@@ -1,7 +1,10 @@
# Firefox Extension ############################################################
-all: $(build-dir)/firefox.xpi
+all: stage-firefox
+
+package: $(build-dir)/firefox.xpi
+
firefox-dir := $(path)
@@ -82,7 +85,10 @@ stage-firefox: \
$(firefox-build)/data/icons/options-icon.js \
| $(firefox-build)
-$(build-dir)/firefox.xpi: stage-firefox $(addon-sdk-unpacked)
+$(build-dir)/firefox.xpi: \
+ stage-firefox \
+ $(addon-sdk-unpacked) \
+ $(topdir)/profiles/firefox
$(call label,XPI $(call drop-prefix,$@))\
$(call cfx,$(build-dir),xpi -p $(topdir)/profiles/firefox \
--pkgdir=$(firefox-build) )