diff options
author | Benjamin Drung <bdrung@ubuntu.com> | 2009-08-22 14:14:26 +0200 |
---|---|---|
committer | Benjamin Drung <bdrung@ubuntu.com> | 2009-08-22 14:14:26 +0200 |
commit | ea08fb9348da01641985674daea4f5c435f13c6d (patch) | |
tree | 53dd1541f5afe581ac7f406d65ccb5a146f0be53 /src | |
parent | bfe05a21382037382616a383ed787b2d4cfe1ab9 (diff) |
* xpi.mk:
- List all phony target and run dh_clean for all packages. These changes
makes it possible to use xpi.mk without cdbs in a simple way.
- update src/xpi.mk
Diffstat (limited to 'src')
-rw-r--r-- | src/xpi.mk | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -204,6 +204,7 @@ stamp-installlinks-%: stamp-autolinks: $(foreach mozilla,$(MOZ_XPI_MOZILLA_DIRS),stamp-installlinks-$(mozilla)) $(foreach id,$(call XPI_TARGET_EMIDs,$(TEMPDIR)),dh_link -p$(MOZ_EXTENSION_PKG) /usr/share/$(MOZ_EXTENSION_PKG) /usr/lib/mozilla/extensions/$(id)/$(call XPI_EMID,$(TEMPDIR));) + touch $@ stamp-install-%: stamp-autolinks dh_install -p$(MOZ_EXTENSION_PKG) $(wildcard $(TEMPDIR)/*) /usr/share/$(MOZ_EXTENSION_PKG) @@ -223,7 +224,7 @@ ifneq (,$(MOZ_EXTENSION_PKG)) xpi-install: stamp-extension-install stamp-xpi-depends xpi-clean: - dh_clean -p$(MOZ_EXTENSION_PKG) + dh_clean -rm -f stamp-extension-install \ stamp-* \ $(NULL) @@ -240,3 +241,4 @@ xpi-clean: exit 2 endif +.PHONY: xpi-install xpi-clean |