8 cd tests/example/example
10 : ----- out of tree build -----
14 >>../src/for-test.sd.mk
15 >>../lib/for-test.mk.in
16 .././autogen.sh && ../configure
19 : ----- testing rebuild on input change -----
24 find ! -path './build/*' -type f -print0 \
26 touch -hmd 'now -2000 seconds' --
30 find -type f -print0 \
32 touch -hmd 'now -1000 seconds' --
35 : ----- for-check-1 -----
37 echo 'for-check-1:' >>../src/for-test.sd.mk
39 grep '^for-check-1:' src/Subdir.mk || false
41 : ----- for-check-2 -----
43 echo 'for-check-2:' >>../lib/for-test.mk.in
45 grep '^for-check-2:' lib/for-test.mk || false