2018-11-02 04:17:27 -04:00
|
|
|
exec >&2
|
2011-01-01 03:42:35 -08:00
|
|
|
rm -rf t/.redo redo-sh
|
2010-12-11 20:54:46 -08:00
|
|
|
if [ -e .do_built ]; then
|
|
|
|
|
while read x; do
|
2011-03-22 22:09:56 -07:00
|
|
|
[ -d "$x" ] || rm -f "$x"
|
2010-12-11 20:54:46 -08:00
|
|
|
done <.do_built
|
|
|
|
|
fi
|
2010-12-11 21:47:55 -08:00
|
|
|
[ -z "$DO_BUILT" ] && rm -rf .do_built .do_built.dir
|
2018-11-19 19:28:25 -05:00
|
|
|
rm -rf minimal/.do_built minimal/.do_built.dir website
|
2011-01-17 23:00:20 -08:00
|
|
|
redo t/clean Documentation/clean version/clean
|
2010-12-12 02:33:08 -08:00
|
|
|
rm -f *~ .*~ */*~ */.*~ *.pyc install.wrapper
|
2010-12-17 11:40:42 -08:00
|
|
|
find . -name '*.tmp' -exec rm -fv {} \;
|
{ood,sources,targets}: fix relative paths; turn missing targets into sources.
When we check dependencies and a previously-is_generated dependency
existed before, but no longer does, forget that it was is_generated.
This slightly improves the situation where as a project evolves, a file
that used to be a target gets removed, and then later is re-added as a
static source file. (It doesn't fix the other variant, where a file is
changed from target to source in a single atomic change, and is never
missing. That one will be trickier to handle.)
While adding a test for this behaviour, I discovered that redo-sources,
redo-targets, and redo-ood were reporting their output relative to
STARTDIR instead of relative to $PWD, so fix that too.
2018-11-23 18:20:32 -05:00
|
|
|
find . -name '*.did' -exec rm -fv {} \;
|