Dmitry V. Levin
525a39a01a
* configure.ac (AM_INIT_AUTOMAKE): Replace dist-bzip2 with dist-xz. * Makefile.am: Update srpm target. * make-dist: Update for dist-xz. * strace.spec: Update Source tag. * debian/watch: Update regexp. * .gitignore: Add strace-*.tar.xz.
26 lines
407 B
Bash
Executable File
26 lines
407 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
|
|
|
|
autoreconf -i -f
|
|
|
|
./configure --enable-maintainer-mode
|
|
|
|
make -s $j distcheck
|
|
|
|
mv -f strace-*.tar.xz ..
|