|
|
1.1 ! root 1: x=/tmp/mk$$ ! 2: trap 'rm -f $x' 0 1 2 ! 3: tee $x < $1 | sed -e 's/$(\([^)]*\))\([ :\/]\)/$\1\2/g ! 4: s/$(\([^)]*\))$/$\1/g ! 5: s/$(\([^)]*\))/${\1}/g ! 6: s/^ @/ / ! 7: /^ -/,/[^\\]$/{ ! 8: /[^\\]$/s/$/; set -e/ ! 9: } ! 10: /^ -/s/ -/ set +e; / ! 11: s/:&/:/ ! 12: s/$% /$stem /g ! 13: s/$%\./$stem\./g ! 14: s/$%/${stem}/g ! 15: s/$@/${target}/g ! 16: s/$^/${prereq}/g ! 17: s/$?/$newprereq/g' ! 18: if egrep -s 'cd[ ]|make' < $x ! 19: then ! 20: echo "Warning: recipes containing \`cd' or \`make' need attention." ! 21: egrep 'cd[ ]|make' < $x ! 22: fi 1>&2
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.