Browse Source

clean up version control junk in the rootfs directory

SVN-Revision: 7045
Felix Fietkau 19 years ago
parent
commit
c2401030fc
1 changed files with 3 additions and 0 deletions
  1. 3 0
      package/Makefile

+ 3 - 0
package/Makefile

@@ -58,6 +58,9 @@ install:
 			IPKG_INSTROOT=$(BUILD_DIR)/root $(which bash) ./etc/rc.common $$script enable; \
 		done || true \
 	)
+	@-find $(BUILD_DIR)/root -name CVS   | xargs -r rm -rf
+	@-find $(BUILD_DIR)/root -name .svn  | xargs -r rm -rf
+	@-find $(BUILD_DIR)/root -name '.#*' | xargs -r rm -f
 
 index: $(PACKAGE_DIR)/Packages