blob: 16c979795a29a949274d1746544ba672aee9829f [file] [log] [blame]
Dmitry V. Levinac260682009-10-09 23:15:16 +00001#!/bin/sh -e
2
Roland McGrath150759b2009-10-11 16:30:57 -07003tag="${1:-master}"
4
5j=-j`getconf _NPROCESSORS_ONLN 2> /dev/null` || j=
6
7distdir=strace-dist-$$
8abs_distdir="`pwd`/$distdir"
9trap 'chmod -Rf u+w $abs_distdir; rm -rf $abs_distdir' 1 2 15 0
10
11set -x
12git clone -q -n -s .git "$distdir"
13
14cd $distdir
15git checkout -f "$tag"
16
Dmitry V. Levinac260682009-10-09 23:15:16 +000017./git-set-file-times
Roland McGrath150759b2009-10-11 16:30:57 -070018
Dmitry V. Levin3e69bdf2014-04-25 22:52:06 +000019./bootstrap
Roland McGrath150759b2009-10-11 16:30:57 -070020
Dmitry V. Levinac260682009-10-09 23:15:16 +000021./configure --enable-maintainer-mode
Roland McGrath150759b2009-10-11 16:30:57 -070022
23make -s $j distcheck
Dmitry V. Levindce75932013-04-30 23:52:12 +000024make -s $j news-check
Roland McGrath150759b2009-10-11 16:30:57 -070025
Dmitry V. Levin525a39a2011-02-27 14:05:58 +000026mv -f strace-*.tar.xz ..