Don't remove $(TARFILE) when cleaning
authorRichard Levitte <levitte@openssl.org>
Thu, 22 Apr 2021 12:37:40 +0000 (14:37 +0200)
committerRichard Levitte <levitte@openssl.org>
Fri, 23 Apr 2021 14:30:33 +0000 (16:30 +0200)
This file is outside the source tree, so we have no business removing
it.  This is especially concerning if that was the tarball the user
had to create the source tree.

Fixes #14981

Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14985)

(cherry picked from commit f58f7ec9397de7b752aa547e2677933559a657db)

Configurations/unix-Makefile.tmpl

index 41648c952667f3452f543ee15888510eed173735..66617d6f4f90f9e08825c6f41d5b130c39032932 100644 (file)
@@ -523,7 +523,6 @@ clean: libclean
        $(RM) -r test/test-runs
        $(RM) openssl.pc libcrypto.pc libssl.pc
        -$(RM) `find . -type l \! -name '.*' -print`
-       $(RM) $(TARFILE)
 
 distclean: clean
        $(RM) configdata.pm