summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-03-28 18:26:40 (GMT)
committer Denys Vlasenko <vda.linux@googlemail.com>2010-03-28 18:26:40 (GMT)
commit603884b07e4ffffa1c00c5982d7583f6a136f1c2 (patch)
tree4b2290b8e9d49e6179a55d940032d1fb0b6e0105
parent03f6ee28d606004f450a9ca6fad09ad4e4a43194 (diff)
downloadbusybox-603884b07e4ffffa1c00c5982d7583f6a136f1c2.tar.gz
busybox-603884b07e4ffffa1c00c5982d7583f6a136f1c2.tar.bz2
"make release" should delete .git directory too
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--Makefile.custom4
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 \