From: Felix Fietkau Date: Wed, 31 May 2006 11:06:32 +0000 (+0000) Subject: clean up .svn and CVS directories for every package X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=fc7bbe2e1aa1e083e86603a8bd050c03320016ff;p=lede.git clean up .svn and CVS directories for every package SVN-Revision: 3853 --- diff --git a/openwrt/package/rules.mk b/openwrt/package/rules.mk index d436df8dce..50f03effae 100644 --- a/openwrt/package/rules.mk +++ b/openwrt/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)