mirror of https://github.com/MidnightCommander/mc
maint: run `make dist` on Travis, use tarball to do build tests
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
This commit is contained in:
parent
e8b68df26f
commit
b6c1c2fdba
|
@ -33,6 +33,18 @@ function do_build() {
|
|||
make install
|
||||
}
|
||||
|
||||
# Build distribution archive
|
||||
mkdir -p distrib && cd $_
|
||||
|
||||
../configure
|
||||
make dist-bzip2
|
||||
|
||||
DISTFILE=$(ls mc-*.tar.bz2)
|
||||
DISTDIR=$(echo $DISTFILE | sed 's/\.tar\.bz2$//g')
|
||||
|
||||
tar -xjf $DISTFILE
|
||||
cd $DISTDIR
|
||||
|
||||
# Build default configuration (S-Lang)
|
||||
mkdir -p build-default && pushd $_
|
||||
|
||||
|
|
Loading…
Reference in New Issue