"make release" should delete .git directory too
authorDenys Vlasenko <vda.linux@googlemail.com>
Sun, 28 Mar 2010 18:26:40 +0000 (20:26 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sun, 28 Mar 2010 18:26:40 +0000 (20:26 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Makefile.custom

index fb9ec67..ecba6bd 100644 (file)
@@ -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 \