[git commit master] "make release" should delete .git directory too
Denys Vlasenko
vda.linux at googlemail.com
Sun Mar 28 18:26:40 UTC 2010
commit: http://git.busybox.net/busybox/commit/?id=603884b07e4ffffa1c00c5982d7583f6a136f1c2
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master
Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
Makefile.custom | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/Makefile.custom b/Makefile.custom
index fb9ec67..ecba6bd 100644
--- a/Makefile.custom
+++ b/Makefile.custom
@@ -64,6 +64,10 @@ release: distclean
-name .svn \
-print \
-exec rm -r -f {} \; ; \
+ find busybox-$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)/ -type d \
+ -name .git \
+ -print \
+ -exec rm -r -f {} \; ; \
find busybox-$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)/ -type f \
-name .\#* \
-print \
--
1.6.3.3
More information about the busybox-cvs
mailing list