From: Richard Levitte Date: Fri, 19 Feb 2016 22:34:25 +0000 (+0100) Subject: Unified 'make depend' has to cleanup after itself X-Git-Tag: OpenSSL_1_1_0-pre4~583 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=874efa9f81c1414725088324b2b602d17dc291db;p=oweals%2Fopenssl.git Unified 'make depend' has to cleanup after itself It failed to remove lingering Makefile.new Reviewed-by: Rich Salz --- 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 #############################################