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:27:56 +0000 (16:27 +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)

Configurations/unix-Makefile.tmpl

index c4755c54cd6555e85042615d3a6b66b5c07c5d47..be6036c227e4b7ed2bfa34be047257a8dba115c5 100644 (file)
@@ -561,7 +561,6 @@ clean: libclean
        $(RM) -r test/test-runs
        $(RM) openssl.pc libcrypto.pc libssl.pc
        -find . -type l \! -name '.*' -exec $(RM) {} \;
-       $(RM) $(TARFILE)
 
 distclean: clean
        $(RM) configdata.pm