# HG changeset patch # User "Yann E. MORIN" # Date 1286315956 -7200 # Node ID af1a779a7f1a1e3bfe4c77d79c4e3f52b53f158d # Parent 804a8f6d286ada2c0848d13fa3475af1d59eaed3 scripts: update distclean The toolchains are now built in .build/ rather than in targets/ so distclean has to get rid of that. We also clean up the old dir, as users may have old samples that still refer to the old location. Do not hide messages during distclean, and do not ignore errors. Signed-off-by: "Yann E. MORIN" diff -r 804a8f6d286a -r af1a779a7f1a ct-ng.in --- a/ct-ng.in Tue Oct 05 23:25:32 2010 +0200 +++ b/ct-ng.in Tue Oct 05 23:59:16 2010 +0200 @@ -171,6 +171,6 @@ distclean:: clean @$(ECHO) " CLEAN .config" $(SILENT)rm -f .config .config.* ..config* - @$(ECHO) " CLEAN targets" - $(SILENT)chmod -R u+w targets >/dev/null 2>&1 || true - $(SILENT)rm -rf targets + @$(ECHO) " CLEAN build dir" + $(SILENT)chmod -R u+w targets .build + $(SILENT)rm -rf targets .build