aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorbug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277>2003-08-29 12:20:31 +0000
committerbug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277>2003-08-29 12:20:31 +0000
commitc33388adb5fa8efdb8ed03b116b2d1186b37b425 (patch)
tree7348f573e2095adaa0bffabf52deaaba4ac9a28a /Makefile
parent5607e36f1029fbc2324c813b0e2de85f2ca6dc19 (diff)
downloadbusybox-w32-c33388adb5fa8efdb8ed03b116b2d1186b37b425.tar.gz
busybox-w32-c33388adb5fa8efdb8ed03b116b2d1186b37b425.tar.bz2
busybox-w32-c33388adb5fa8efdb8ed03b116b2d1186b37b425.zip
* Since busybox binary is unnecessary, deleted it from prerequisites.
* Changed so that not only links but /bin/busybox might be deleted. * When double quoted PREFIX is defined by `.config' is used, `make uninstall' does not work correctly. When default PREFIX `pwd`/_install defined by Rules.mak is used, similarly it does not work correctly. Changed $$PREFIX into $(PREFIX) in order to fix this. Patch by Hideki IWAMOTO git-svn-id: svn://busybox.net/trunk/busybox@7284 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 3d6bcce83..bfa76010b 100644
--- a/Makefile
+++ b/Makefile
@@ -54,8 +54,9 @@ busybox.links: applets/busybox.mkll include/config.h
54install: applets/install.sh busybox busybox.links 54install: applets/install.sh busybox busybox.links
55 $(SHELL) $< $(PREFIX) 55 $(SHELL) $< $(PREFIX)
56 56
57uninstall: busybox busybox.links 57uninstall: busybox.links
58 for i in `cat busybox.links` ; do rm -f $$PREFIX$$i; done 58 rm -f $(PREFIX)/bin/busybox
59 for i in `cat busybox.links` ; do rm -f $(PREFIX)$$i; done
59 60
60install-hardlinks: applets/install.sh busybox busybox.links 61install-hardlinks: applets/install.sh busybox busybox.links
61 $(SHELL) $< $(PREFIX) --hardlinks 62 $(SHELL) $< $(PREFIX) --hardlinks