[git commit master] Makefile: Clean up auto-generated Kbuild and Config.in files

Denys Vlasenko vda.linux at googlemail.com
Sun May 16 00:48:21 UTC 2010


commit: http://git.busybox.net/busybox/commit/?id=0bb2980605f88b1c78757db0c7a149d15a167288
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master

Previously these auto-generated files were left behind after a 'make
mrproper' was ran.

Signed-off-by: Peter Tyser <ptyser at xes-inc.com>
Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 Makefile |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile
index da8f7d7..14f5cd1 100644
--- a/Makefile
+++ b/Makefile
@@ -1001,6 +1001,8 @@ $(mrproper-dirs):
 mrproper: clean archmrproper $(mrproper-dirs)
 	$(call cmd,rmdirs)
 	$(call cmd,rmfiles)
+	@find -name Config.src | sed 's/.src$/.in/' | xargs -r rm -f
+	@find -name Kbuild.src | sed 's/.src$//' | xargs -r rm -f
 
 # distclean
 #
-- 
1.6.3.3



More information about the busybox-cvs mailing list