]> granicus.if.org Git - strace/blob - bootstrap
bootstrap: do not link Makefile* files
[strace] / bootstrap
1 #!/bin/sh -eu
2
3 for m in -m32 -mx32; do
4         mkdir -p tests$m
5         find tests$m -type l -delete
6         sed "s/^AM_CFLAGS[[:space:]]*=.*/& $m/" \
7                 tests/Makefile.am > tests$m/Makefile.am
8         for f in tests/*; do
9                 case "${f##*/}" in
10                 Makefile*) continue;;
11                 esac
12                 ln -s ../"$f" tests$m/
13         done
14 done
15
16 ./xlat/gen.sh
17
18 exec autoreconf -f -i "$@"