diff options
author | Volker Grabsch <vog@notjusthosting.com> | 2009-02-09 08:38:45 (GMT) |
---|---|---|
committer | Volker Grabsch <vog@notjusthosting.com> | 2009-02-09 08:38:45 (GMT) |
commit | 2cf9e932a75098af5159bcb5b924d9bef6562e2c (patch) | |
tree | 0f92478610921ebaaaf113cb72de6f549218eb92 /Makefile | |
parent | afaff868a54763b93659a82a8ecf9fd2fe6176be (diff) | |
download | mxe-2cf9e932a75098af5159bcb5b924d9bef6562e2c.zip mxe-2cf9e932a75098af5159bcb5b924d9bef6562e2c.tar.gz mxe-2cf9e932a75098af5159bcb5b924d9bef6562e2c.tar.bz2 |
new target "make clean-pkg" to remove all unused package files (handy after a successful "make update")
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -88,6 +88,13 @@ strip: clean: rm -rf $(call TMP_DIR,*) $(PREFIX)/* +.PHONY: clean-pkg +clean-pkg: + rm -f $(patsubst %,'%', \ + $(filter-out \ + $(foreach PKG,$(PKG_RULES),$(PKG_DIR)/$($(PKG)_FILE)), \ + $(wildcard $(PKG_DIR)/*))) + .PHONY: update define UPDATE $(if $(2), \ |