release-tools: use 'make tar' instead of 'make dist'
authorRichard Levitte <levitte@openssl.org>
Mon, 10 Sep 2018 15:34:52 +0000 (17:34 +0200)
committerRichard Levitte <levitte@openssl.org>
Mon, 10 Sep 2018 15:34:52 +0000 (17:34 +0200)
'make dist' will pre-configure the OpenSSL source for distribution
with a simple generic configuration, which is nice...  as long as
you're on Unix.

Unfortunately, the resulting Makefile will be picked up by NMAKE (on
Windows) and MMS / MMK (on VMS) and will spew out errors because those
are very different environments.

Therefore, it's better not to pre-configure, and just create an
archive from the source proper.

(note that pre-configuration would still work on the 1.0.2 series,
since the Windows and VMS builds are entirely different there, but
it's no big loss to force everyone to configure when using 1.0.2 as
well)

Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/29)

release-tools/README.md
release-tools/mkrelease.pl

index 5376eecb50869120053d868b4d31319d3c094ccc..af2b78fd60641b6238cc328e056ca7defd65c697 100644 (file)
@@ -276,7 +276,7 @@ or if you want to use the openssl-team key:
 
 Make the release tarball. You do this with:
 
-        make dist
+        make tar
 
 Create .sha1, .sha256 and .asc files manually. You can use:
 
index 69e337faf8e6cda77e8a813268efc909dffb8e1a..48f18d7efc14ad6e964599ab372b2d6c273df489 100644 (file)
@@ -257,7 +257,7 @@ if ( !$no_release ) {
     my $gpgann = $ENV{"OPENSSL_GPG_ANNOUNCE"}
       // "$gpg --use-agent -sta --clearsign";
     my $tarfile = "openssl-${expected_version}.tar.gz";
-    system("(./config; make $TAR dist) >../$tarfile.log 2>&1");
+    system("(./config; make $TAR tar) >../$tarfile.log 2>&1");
     die "Error generating release!" if $?;
     die "Can't find tarball!!" unless -f "../$tarfile";