clean up .svn and CVS directories for every package
authorFelix Fietkau <nbd@openwrt.org>
Wed, 31 May 2006 11:06:32 +0000 (11:06 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 31 May 2006 11:06:32 +0000 (11:06 +0000)
SVN-Revision: 3853

openwrt/package/rules.mk

index d436df8dcee01f4aa6f0bdc95afa5e318c0d38f6..50f03effae5a9a7c409983375c03c2ae8b0bab75 100644 (file)
@@ -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)