diff options
author | Glenn L McGrath <bug1@ihug.co.nz> | 2003-08-29 12:20:31 +0000 |
---|---|---|
committer | Glenn L McGrath <bug1@ihug.co.nz> | 2003-08-29 12:20:31 +0000 |
commit | 87470def246da9ef4298f253dc23899b3c737bfe (patch) | |
tree | 7348f573e2095adaa0bffabf52deaaba4ac9a28a /Makefile | |
parent | b54a748621718853c25ab41fef85b196bbd55fef (diff) | |
download | busybox-w32-87470def246da9ef4298f253dc23899b3c737bfe.tar.gz busybox-w32-87470def246da9ef4298f253dc23899b3c737bfe.tar.bz2 busybox-w32-87470def246da9ef4298f253dc23899b3c737bfe.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
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -54,8 +54,9 @@ busybox.links: applets/busybox.mkll include/config.h | |||
54 | install: applets/install.sh busybox busybox.links | 54 | install: applets/install.sh busybox busybox.links |
55 | $(SHELL) $< $(PREFIX) | 55 | $(SHELL) $< $(PREFIX) |
56 | 56 | ||
57 | uninstall: busybox busybox.links | 57 | uninstall: 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 | ||
60 | install-hardlinks: applets/install.sh busybox busybox.links | 61 | install-hardlinks: applets/install.sh busybox busybox.links |
61 | $(SHELL) $< $(PREFIX) --hardlinks | 62 | $(SHELL) $< $(PREFIX) --hardlinks |