aboutsummaryrefslogtreecommitdiff
path: root/Makefile.custom
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-03-28 20:26:40 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2010-03-28 20:26:40 +0200
commit603884b07e4ffffa1c00c5982d7583f6a136f1c2 (patch)
tree4b2290b8e9d49e6179a55d940032d1fb0b6e0105 /Makefile.custom
parent03f6ee28d606004f450a9ca6fad09ad4e4a43194 (diff)
downloadbusybox-603884b07e4ffffa1c00c5982d7583f6a136f1c2.tar.gz
"make release" should delete .git directory too
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'Makefile.custom')
-rw-r--r--Makefile.custom4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.custom b/Makefile.custom
index fb9ec671c..ecba6bd79 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 \