diff options
Diffstat (limited to 'src/xpi.mk')
-rw-r--r-- | src/xpi.mk | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -51,6 +51,8 @@ MOZ_XPI_MOZILLA_DIRS ?= firefox-addons firefox +MOZ_XPI_BUILD_COMMAND ?= rm -f `pwd`/*.xpi ; med-xpi-pack `pwd` $(MOZ_EXTENSION_PKG).xpi; + TEMPDIR := $(shell rm -rf temp-xpi-*; mktemp -d temp-xpi-XXXXXXXX) ifneq (,$(MOZ_XPI_FILE)) @@ -74,11 +76,8 @@ endif install/$(MOZ_EXTENSION_PKG):: xpi-install -# clean build and remove all .xpi in top-level if a MOZ_XPI_BUILD_COMMAND is defined +# clean build clean:: xpi-clean -ifneq (,$(MOZ_XPI_BUILD_COMMAND)) - rm -f *.xpi -endif # ### general helper targets stamp-unzip-%: |