summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-05-31 11:06:32 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-05-31 11:06:32 +0000
commit08b4d5506480d5d62c9ce334e98bd06485ab296a (patch)
tree10f66e07309a2b7aa25656eaa5494854b747523b
parent3c17bb247ff2d9260af8dccad333b52b70d299e7 (diff)
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 d436df8dc..50f03effa 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)