apenwarr-redo/clean.do
Avery Pennarun 80fedc84fe minimal/do: make redo-ifchange (etc) into subprograms in a temp dir.
Using aliases for them was cute, but it didn't work with things like:

	find -name '*.c' | xargs redo-ifchange

since xargs doesn't know about aliases.
2010-12-11 21:47:55 -08:00

10 lines
226 B
Text

if [ -e .do_built ]; then
while read x; do
rm -f "$x"
done <.do_built
fi
[ -z "$DO_BUILT" ] && rm -rf .do_built .do_built.dir
redo t/clean
rm -f *~ .*~ */*~ */.*~ *.pyc
rm -rf t/.redo
find -name '*.tmp' -exec rm -fv {} \;