'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)
Make the release tarball. You do this with:
- make dist
+ make tar
Create .sha1, .sha256 and .asc files manually. You can use:
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";