summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEric Andersen2002-04-13 13:39:48 +0000
committerEric Andersen2002-04-13 13:39:48 +0000
commit1f30a41abe3ad19cbd4e0bb6b67d4084ec576d20 (patch)
tree0eb9e10109fb9f080c294e4a7fcad6eddb5409b2 /Makefile
parent5d8d4a674bb8ff31688340cd53ee58d55267dd0b (diff)
downloadbusybox-1f30a41abe3ad19cbd4e0bb6b67d4084ec576d20.zip
busybox-1f30a41abe3ad19cbd4e0bb6b67d4084ec576d20.tar.gz
Add a 'make uninstall' target
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 28b041c..16b4a5f 100644
--- a/Makefile
+++ b/Makefile
@@ -56,6 +56,9 @@ busybox.links: applets/busybox.mkll
install: applets/install.sh busybox busybox.links
$(SHELL) $< $(PREFIX)
+uninstall: busybox busybox.links
+ for i in `cat busybox.links` ; do rm -f $$PREFIX$$i; done
+
install-hardlinks: applets/install.sh busybox busybox.links
$(SHELL) $< $(PREFIX) --hardlinks