strace/make-dist

27 lines
424 B
Plaintext
Raw Normal View History

#!/bin/sh -e
2009-10-12 03:30:57 +04:00
tag="${1:-master}"
j=-j`getconf _NPROCESSORS_ONLN 2> /dev/null` || j=
distdir=strace-dist-$$
abs_distdir="`pwd`/$distdir"
trap 'chmod -Rf u+w $abs_distdir; rm -rf $abs_distdir' 1 2 15 0
set -x
git clone -q -n -s .git "$distdir"
cd $distdir
git checkout -f "$tag"
./git-set-file-times
2009-10-12 03:30:57 +04:00
./bootstrap
2009-10-12 03:30:57 +04:00
./configure --enable-maintainer-mode
2009-10-12 03:30:57 +04:00
make -s $j distcheck
make -s $j news-check
2009-10-12 03:30:57 +04:00
mv -f strace-*.tar.xz ..