aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-05-31 11:06:32 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-05-31 11:06:32 +0000
commitc8a2d569e63924e57e8439da1cb2dcbecf5726ed (patch)
tree10f66e07309a2b7aa25656eaa5494854b747523b
parent57061ab06abec17495d217457f1ef6a40a5b36cb (diff)
downloadupstream-c8a2d569e63924e57e8439da1cb2dcbecf5726ed.tar.gz
upstream-c8a2d569e63924e57e8439da1cb2dcbecf5726ed.tar.bz2
upstream-c8a2d569e63924e57e8439da1cb2dcbecf5726ed.zip
clean up .svn and CVS directories for every package
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3853 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/rules.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/rules.mk b/package/rules.mk
index d436df8dce..50f03effae 100644
--- a/package/rules.mk
+++ b/package/rules.mk
@@ -154,6 +154,8 @@ define BuildPackage
$$(IPKG_$(1)): $$(IDIR_$(1))/CONTROL/control $(PKG_BUILD_DIR)/.built
$(call Package/$(1)/install,$$(IDIR_$(1)))
mkdir -p $(PACKAGE_DIR)
+ find $$(IDIR_$(1)) -name CVS | xargs rm -rf
+ find $$(IDIR_$(1)) -name .svn | xargs rm -rf
$(RSTRIP) $$(IDIR_$(1))
$(IPKG_BUILD) $$(IDIR_$(1)) $(PACKAGE_DIR)