aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2008-02-23 15:02:11 -0600
committerRob Landley <rob@landley.net>2008-02-23 15:02:11 -0600
commit7a585c67ec5f62de1e5bb1a1e44ea8adc5919d28 (patch)
treef4fe0ac37371db45a518820753cc448aeacc732b
parent775257bfc96679f52e9b215b3c6a8941b4974e48 (diff)
downloadtoybox-7a585c67ec5f62de1e5bb1a1e44ea8adc5919d28.tar.gz
Don't delete testdir after running test.sh. Add it to make clean instead.
-rw-r--r--Makefile4
-rwxr-xr-xtest.sh3
2 files changed, 2 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 01f6a211..a35d9a2d 100644
--- a/Makefile
+++ b/Makefile
@@ -32,8 +32,8 @@ install_flat: instlist
@for i in `./instlist`; do ln -s toybox "$(PREFIX)/$$i"; done
clean::
- rm -f toybox toybox_unstripped generated/config.h generated/Config.in \
- generated/newtoys.h generated/globals.h instlist
+ rm -rf toybox toybox_unstripped generated/config.h generated/Config.in \
+ generated/newtoys.h generated/globals.h instlist testdir
distclean: clean
rm -f toybox_old .config* generated/help.h
diff --git a/test.sh b/test.sh
index 818e8ad0..1833682f 100755
--- a/test.sh
+++ b/test.sh
@@ -28,6 +28,3 @@ else
. $i
done
fi
-
-cd ..
-rm -rf testdir