3 # 13.06.2006 Volker Quetschke
4 # Error out if AUGMAKE meta and normal targets occur in the same rule
12 trap '{ echo "trapped signal - removing temporary files" ; rm -rf $tmpfiles ; }' 1 2 3 15
14 # Remove files from prior failed run
17 # Remember to quote variables in generated makefiles( $ -> \$ ).
18 # Testcase 1 - Check that warning is issued if .<suffix> targets are ignored
23 .NIX.NUX aaa : ; @+echo "Normal and meta target together"
30 output1
=`eval ${DMAKEPROG} -r -f $file1 2>&1 `
33 if echo $output1 |
grep 'Error: -- A non AUGMAKE meta target must' > /dev
/null
2>&1 ; then
37 echo "Test 1: Wrong result: $output1"
42 # Errorcode in $result1 means successfull test
43 if test $result1 -ne 0 ; then
44 echo "Success - Cleaning up"