]> granicus.if.org Git - strace/blobdiff - make-dist
netlink_sock_diag: print inet_diag_sockid.idiag_if as an interface index
[strace] / make-dist
index a4e598c8b981864e40a287622f14ac67593810f7..41baa209417ca16c7fd4afe956de893f36dffa08 100755 (executable)
--- a/make-dist
+++ b/make-dist
@@ -1,6 +1,6 @@
 #!/bin/sh -e
 
-tag="${1:-master}"
+id="$(git rev-parse --verify "${1:-@}^{commit}")"
 
 j=-j`getconf _NPROCESSORS_ONLN 2> /dev/null` || j=
 
@@ -12,14 +12,24 @@ set -x
 git clone -q -n -s .git "$distdir"
 
 cd $distdir
-git checkout -f "$tag"
+git checkout -f "$id"
 
 ./git-set-file-times
 
-autoreconf -i -f
+./bootstrap
 
 ./configure --enable-maintainer-mode
 
 make -s $j distcheck
 
-mv -f *.tar.bz2 ..
+if git describe --exact-match --match='v*' >/dev/null; then
+       make -s $j news-check
+else
+       echo 'SKIP: make news-check'
+fi
+
+./make-dsc strace-*.tar.gz > ../strace.dsc
+
+cat strace.spec > ../strace.spec
+
+mv -f strace-*.tar.[gx]z ..