aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2008-03-28 00:40:57 -0500
committerRob Landley <rob@landley.net>2008-03-28 00:40:57 -0500
commitbf081b9b500f7a18fe225b14b0ab92ed0b0f0ec9 (patch)
tree33f155a154de5f1f2876239dd6c1a2a76758ece6
parent05fbd1e2b4b12eb3b7b33b1d88f41f8defcc4937 (diff)
downloadtoybox-bf081b9b500f7a18fe225b14b0ab92ed0b0f0ec9.tar.gz
Add uninstall and uninstall_flat.
-rw-r--r--Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 713a66d6..da40c255 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,8 @@ all: toybox
toybox toybox_unstripped: .config *.[ch] lib/*.[ch] toys/*.[ch] scripts/*
scripts/make.sh
-.PHONY: clean distclean baseline bloatcheck install install_flat test tests help
+.PHONY: clean distclean baseline bloatcheck install install_flat \
+ uinstall uninstall_flat test tests help
include kconfig/Makefile
@@ -32,6 +33,12 @@ install_flat: instlist
install:
scripts/install.sh --long --symlink --force
+uninstall_flat: instlist
+ scripts/install.sh --uninstall
+
+uninstall:
+ scripts/install.sh --long --uninstall
+
clean::
rm -rf toybox toybox_unstripped generated/config.h generated/Config.in \
generated/newtoys.h generated/globals.h instlist testdir