From 17f4aca556307ddc7f86dc0a781eabef8360f732 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sat, 2 Nov 2013 22:06:36 +0100 Subject: [PATCH] Makefile.custom: make "make release" delete .gitignore files too Signed-off-by: Antony Pavlov Signed-off-by: Denys Vlasenko --- Makefile.custom | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile.custom b/Makefile.custom index 3561e5768..8c95ef2d4 100644 --- a/Makefile.custom +++ b/Makefile.custom @@ -73,6 +73,10 @@ release: distclean -name .git \ -print \ -exec rm -r -f {} \; ; \ + find busybox-$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)/ -type f \ + -name .gitignore \ + -print \ + -exec rm -f {} \; ; \ find busybox-$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)/ -type f \ -name .\#* \ -print \