diff options
author | Sasa Bodiroza <jazzva@gmail.com> | 2008-07-08 23:06:44 +0200 |
---|---|---|
committer | Sasa Bodiroza <jazzva@gmail.com> | 2008-07-08 23:06:44 +0200 |
commit | 553f700b449a06d7f0a2f5c9d55300f7af1088fc (patch) | |
tree | ebfc9f26dc46414619ff66d726e6c0fa366eef0e /src | |
parent | a2bb8499aa1cd9b00c25f2510e1f1228659def97 (diff) |
* In src/xpi.mk:
- Revert clean rule, removed in rev 158.
- Change default build cmd to not remove xpi files, it is done in clean rule.
- Use CURDIR instead of pwd in default build cmd.
* Document in debian/changelog.
Diffstat (limited to 'src')
-rw-r--r-- | src/xpi.mk | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -51,7 +51,7 @@ MOZ_XPI_MOZILLA_DIRS ?= firefox-addons firefox -MOZ_XPI_BUILD_COMMAND ?= rm -f `pwd`/*.xpi ; med-xpi-pack `pwd` $(MOZ_EXTENSION_PKG).xpi; +MOZ_XPI_BUILD_COMMAND ?= med-xpi-pack $(CURDIR) $(MOZ_EXTENSION_PKG).xpi; TEMPDIR := $(shell rm -rf temp-xpi-*; mktemp -d temp-xpi-XXXXXXXX) @@ -76,8 +76,11 @@ endif install/$(MOZ_EXTENSION_PKG):: xpi-install -# clean build +# clean build and remove all .xpi in top-level if a MOZ_XPI_BUILD_COMMAND is defined clean:: xpi-clean +ifneq (,$(MOZ_XPI_BUILD_COMMAND)) + rm -f *.xpi +endif # ### general helper targets stamp-unzip-%: |