From 874efa9f81c1414725088324b2b602d17dc291db Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Fri, 19 Feb 2016 23:34:25 +0100 Subject: [PATCH] Unified 'make depend' has to cleanup after itself It failed to remove lingering Makefile.new Reviewed-by: Rich Salz --- Configurations/unix-Makefile.tmpl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Configurations/unix-Makefile.tmpl b/Configurations/unix-Makefile.tmpl index 07e5a41256..9dc6d7dfe8 100644 --- a/Configurations/unix-Makefile.tmpl +++ b/Configurations/unix-Makefile.tmpl @@ -256,6 +256,8 @@ Makefile: FORCE done ) > Makefile.new @if ! cmp Makefile.new Makefile >/dev/null 2>&1; then \ mv -f Makefile.new Makefile; \ + else \ + rm -f Makefile.new; \ fi # Install helper targets #############################################