r1661

stsp at user.in-berlin.de stsp at user.in-berlin.de
Fri Dec 22 16:32:16 CET 2006


Author: stsp
Date: 2006-12-22 16:32:10 +0100 (Fri, 22 Dec 2006)
New Revision: 1661

Log:
Don't remove .svn/tmp directories on make clean.
Patch found at:
http://mailman.uclinux.org/pipermail/uclinux-dev/2006-June/038698.html


Modified:
   trunk/Makefile

Modified: trunk/Makefile
===================================================================
--- trunk/Makefile	2006-12-22 14:20:28 UTC (rev 1660)
+++ trunk/Makefile	2006-12-22 15:32:10 UTC (rev 1661)
@@ -111,7 +111,7 @@
 		echo '#!'"/usr/bin/wish -f" > config.tk; \
 	fi
 	cat $(SCRIPTSDIR)/header.tk >> ./config.tk
-	cat config.tmp >> config.tk
+	-find . -depth -type d | grep -v .svn | xargs rmdir > /dev/null 2>&1 || exit 0
 	rm -f config.tmp
 	echo "set defaults \"/dev/null\"" >> config.tk
 	echo "set help_file \"config/Configure.help\"" >> config.tk




More information about the dslinux-commit mailing list