When files get updated, the bootstrap script should make sure the
parallel dirs are kept in sync.

* bootstrap: Always generate the test$m.  Clean up symlinks first.
Don't link in Makefile.in files.
---
 bootstrap | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/bootstrap b/bootstrap
index 9624fec..86598b2 100755
--- a/bootstrap
+++ b/bootstrap
@@ -1,13 +1,14 @@
 #!/bin/sh -eu
 
 for m in -m32 -mx32; do
-       mkdir tests$m ||
-               continue
+       mkdir -p tests$m
+       find tests$m -type l -delete
        sed "s/^AM_CFLAGS[[:space:]]*=.*/& $m/" \
                tests/Makefile.am > tests$m/Makefile.am
        for f in tests/*; do
-               [ "${f##*/}" != Makefile.am ] ||
-                       continue
+               case "${f##*/}" in
+               Makefile.am|Makefile.in) continue;;
+               esac
                ln -s ../"$f" tests$m/
        done
 done
-- 
2.3.0


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Strace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to