blob: b39a00137ac578b10399c5d1f1b8d1757ce65cb4 [file] [log] [blame]
Richard Levitte382af612015-12-08 12:43:05 +01001#! /bin/sh
2
3# $1 is expected to be $TRAVIS_OS_NAME
4
Richard Levitte36b82b32016-01-26 01:47:00 +01005./Configure dist
Richard Levitte382af612015-12-08 12:43:05 +01006if [ "$1" == osx ]; then
Richard Levittec7f1fa82016-03-08 13:12:29 +01007 make NAME='_srcdist' TARFILE='_srcdist.tar' \
Michael Richardson9967a9e2018-03-06 14:18:43 -05008 TAR_COMMAND='$(TAR) $(TARFLAGS) -cf -' tar
Richard Levitte382af612015-12-08 12:43:05 +01009else
Richard Levitte54bb8f72016-03-08 11:49:26 +010010 make TARFILE='_srcdist.tar' NAME='_srcdist' dist
Richard Levitte382af612015-12-08 12:43:05 +010011fi