changeset 887:2499abcf2df1

Add a clean.sh script, to "rm -rf build/*-*". What it does is fairly trivial, but not necessarily obvious, and it's an excuse to add a big comment explaining things.
author Rob Landley <rob@landley.net>
date Sun, 15 Nov 2009 14:50:25 -0600
parents 290e12307505
children 626288dd5cf3
files clean.sh
diffstat 1 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/clean.sh	Sun Nov 15 14:50:25 2009 -0600
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+# Delete all the target stages, to force them to rebuild next time build.sh
+# runs.
+
+# This leaves build.packages and build/host alone.  (You can delete those
+# too if you like, rm -rf build is safe, it just means ./download.sh --extract
+# and ./host-tools.sh will have to do their thing again, which takes a while.)
+
+rm -rf build/*-*