strace/make-dist
Dmitry V. Levin 3e69bdf41a Use bootstrap script consistently
Now that ./xlat/gen.sh has to be run before autoreconf,
replace all autoreconf calls with ./bootstrap call.

* bootstrap: Forward arguments to autoreconf.
* build_static_example.sh: Replace autoreconf call with bootstrap call.
* make-dist: Likewise.
* qemu_multiarch_testing/README: Likewise.
2014-05-30 21:31:08 +00:00

27 lines
424 B
Bash
Executable File

#!/bin/sh -e
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
./bootstrap
./configure --enable-maintainer-mode
make -s $j distcheck
make -s $j news-check
mv -f strace-*.tar.xz ..