summaryrefslogtreecommitdiffstats
path: root/.travis-create-release.sh
blob: a153a928b87afbbd532844a6f174cd391aa5daf8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#! /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) -s "|^|$(NAME)/|" -T $(TARFILE).list -cvf -' \
	 SHELL='sh -vx' tar
else
    make TARFILE='_srcdist.tar' NAME='_srcdist' SHELL='sh -v' dist
fi