Unified 'make depend' has to cleanup after itself

It failed to remove lingering Makefile.new

Reviewed-by: Rich Salz <rsalz@openssl.org>
This commit is contained in:
Richard Levitte 2016-02-19 23:34:25 +01:00
parent ce5ed82f82
commit 874efa9f81

View file

@ -256,6 +256,8 @@ Makefile: FORCE
done ) > Makefile.new done ) > Makefile.new
@if ! cmp Makefile.new Makefile >/dev/null 2>&1; then \ @if ! cmp Makefile.new Makefile >/dev/null 2>&1; then \
mv -f Makefile.new Makefile; \ mv -f Makefile.new Makefile; \
else \
rm -f Makefile.new; \
fi fi
# Install helper targets ############################################# # Install helper targets #############################################