8 cd tests/example/example
10 : ----- out of tree build -----
14 >>../src/for-test.sd.mk
15 >>../lib/for-test.mk.in
16 >>../for-test-final.sd.mk
17 .././autogen.sh && ../configure
20 : ----- testing rebuild on input change -----
25 find ! -path './build/*' -type f -print0 \
27 touch -hmd 'now -2000 seconds' --
31 find -type f -print0 \
33 touch -hmd 'now -1000 seconds' --
36 : ----- for-check-1 -----
38 echo 'for-check-1:' >>../src/for-test.sd.mk
40 grep '^for-check-1:' src/Subdir.mk || false
42 : ----- for-check-2 -----
44 echo 'for-check-2:' >>../lib/for-test.mk.in
46 grep '^for-check-2:' lib/for-test.mk || false
48 : ----- for-check-3 -----
50 echo 'for-check-3:' >>../for-test-final.sd.mk
52 grep '^for-check-3:' Final.mk