diff mbox

kbuild: drop unneeded patterns '.*.orig' and '.*.rej' from distclean

Message ID 1485093752-16470-1-git-send-email-yamada.masahiro@socionext.com
State Accepted
Commit f78271dfb77353c4d045f9735deebe21839fb2ed
Headers show

Commit Message

Masahiro Yamada Jan. 22, 2017, 2:02 p.m. UTC
The patterns '.*.orig' and '.*.rej' are cleaned away by '*.orig' and
'*.rej' seen two lines above.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>

---

 Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-- 
2.7.4

Comments

Masahiro Yamada March 14, 2017, 4:28 p.m. UTC | #1
2017-01-22 23:02 GMT+09:00 Masahiro Yamada <yamada.masahiro@socionext.com>:
> The patterns '.*.orig' and '.*.rej' are cleaned away by '*.orig' and

> '*.rej' seen two lines above.

>

> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>



Applied to linux-kbuild/kbuild.




-- 
Best Regards
Masahiro Yamada
diff mbox

Patch

diff --git a/Makefile b/Makefile
index 96e2352..303ada8 100644
--- a/Makefile
+++ b/Makefile
@@ -1313,8 +1313,8 @@  PHONY += distclean
 distclean: mrproper
 	@find $(srctree) $(RCS_FIND_IGNORE) \
 		\( -name '*.orig' -o -name '*.rej' -o -name '*~' \
-		-o -name '*.bak' -o -name '#*#' -o -name '.*.orig' \
-		-o -name '.*.rej' -o -name '*%'  -o -name 'core' \) \
+		-o -name '*.bak' -o -name '#*#' -o -name '*%' \
+		-o -name 'core' \) \
 		-type f -print | xargs rm -f