scripts: update distclean
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Oct 05 23:59:16 2010 +0200 (2010-10-05)
changeset 2134af1a779a7f1a
parent 2133 804a8f6d286a
child 2135 ffef1f437106
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" <yann.morin.1998@anciens.enib.fr>
ct-ng.in
     1.1 --- a/ct-ng.in	Tue Oct 05 23:25:32 2010 +0200
     1.2 +++ b/ct-ng.in	Tue Oct 05 23:59:16 2010 +0200
     1.3 @@ -171,6 +171,6 @@
     1.4  distclean:: clean
     1.5  	@$(ECHO) "  CLEAN .config"
     1.6  	$(SILENT)rm -f .config .config.* ..config*
     1.7 -	@$(ECHO) "  CLEAN targets"
     1.8 -	$(SILENT)chmod -R u+w targets >/dev/null 2>&1 || true
     1.9 -	$(SILENT)rm -rf targets
    1.10 +	@$(ECHO) "  CLEAN build dir"
    1.11 +	$(SILENT)chmod -R u+w targets .build
    1.12 +	$(SILENT)rm -rf targets .build