3 # 06.10.2005 Volker Quetschke
4 # Test if infered makefile generation works.
11 tmpfiles
="$file1 $file2 $file3"
13 trap '{ echo "trapped signal - removing temporary files" ; rm -rf $tmpfiles ; }' 1 2 3 15
15 # Remove files from prior failed run
18 # Remember to quote variables in generated makefiles( $ -> \$ ).
20 # Verify that makefile generation is finished when using it
24 incfile.mk : incfiledepend
37 output
=`eval ${DMAKEPROG} -r -P2 -f $file1 all`
40 # The space between aaa and bbb comes from the +=
41 if test "$output" != "aa:123:bb"; then
47 test $result -eq 0 && echo "Success - Cleaning up" && rm -f ${tmpfiles}
48 test $result -ne 0 && echo "Failure!"