#!/bin/sh # 17.11.2006 Volker Quetschke # Check that parallel builds $(shell ...) only waits its own target and # not for all previous recipe lines. # (issue 61856) : ${DMAKEPROG:=dmake} file1="mfile1.mk" file2="mytarget.dpcc" tmpfiles="$file1 $file2" trap '{ echo "trapped signal - removing temporary files" ; rm -rf $tmpfiles ; }' 1 2 3 15 # Remove files from prior failed run rm -rf $tmpfiles # Remember to quote variables in generated makefiles( $ -> \$ ). cat > $file1 <