Unified 'make depend' has to cleanup after itself
authorRichard Levitte <levitte@openssl.org>
Fri, 19 Feb 2016 22:34:25 +0000 (23:34 +0100)
committerRichard Levitte <levitte@openssl.org>
Fri, 19 Feb 2016 22:34:25 +0000 (23:34 +0100)
It failed to remove lingering Makefile.new

Reviewed-by: Rich Salz <rsalz@openssl.org>
Configurations/unix-Makefile.tmpl

index 07e5a4125641799a6d61daf6539910d7cef6e959..9dc6d7dfe89097592ae846aca2b1791db491a299 100644 (file)
@@ -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 #############################################