3 # 14.06.2006 Volker Quetschke
4 # If %-targets are defined with more than one (not indirect) prerequisite
5 # only the first is used. This is supposed to be fixed at one point but
6 # currently we issue a warning that it not working (yet).
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( $ -> \$ ).
24 %.xx : %.yy %.pp ; touch $@
30 output1
=`eval ${DMAKEPROG} -r -f $file1 2>&1 `
33 if echo $output1 |
grep 'Warning: -- More than one prerequisite' > /dev
/null
2>&1 ; then
37 echo "Test 1: Wrong result: $output1"
42 if test $result1 -eq 0 ; then
43 echo "Success - Cleaning up"