mirror of
https://github.com/openssl/openssl.git
synced 2024-12-18 14:33:42 +08:00
54bb8f74bd
For config targets such as 'dist', which doesn't have a BASE template, we still need to have a default build scheme. Additionally, the unified Makefile template's target 'tar' wasn't quite as flexible as the unixmake one. Finally, .travis-create-release.sh can be somewhat simplified now that it builds with the unified build scheme. Reviewed-by: Matt Caswell <matt@openssl.org>
12 lines
265 B
Bash
12 lines
265 B
Bash
#! /bin/sh
|
|
|
|
# $1 is expected to be $TRAVIS_OS_NAME
|
|
|
|
./Configure dist
|
|
if [ "$1" == osx ]; then
|
|
make NAME='_srcdist' TARFLAGS='-n' TARFILE='_srcdist.tar' \
|
|
TAR_COMMAND='$(TAR) $(TARFLAGS) -cvf -' tar
|
|
else
|
|
make TARFILE='_srcdist.tar' NAME='_srcdist' dist
|
|
fi
|