summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEric Andersen1999-11-12 08:03:23 +0000
committerEric Andersen1999-11-12 08:03:23 +0000
commiteded54bd96ed0394844f9ba23c5ab54dff8a917f (patch)
tree2f6b89cb42fe3b05b64da415dccb773d06ad9d76 /Makefile
parent96bcfd346b436aef16b29d9157b80fd4148b1421 (diff)
downloadbusybox-eded54bd96ed0394844f9ba23c5ab54dff8a917f.zip
busybox-eded54bd96ed0394844f9ba23c5ab54dff8a917f.tar.gz
Adjust install a bit...
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index ddf356f..678f19e 100644
--- a/Makefile
+++ b/Makefile
@@ -48,10 +48,9 @@ else
endif
-ifndef $(prefix)
- prefix=`pwd`
+ifndef $(PREFIX)
+ PREFIX=`pwd`/busybox_install
endif
-BINDIR=$(prefix)
LIBRARIES=
OBJECTS=$(shell ./busybox.sh)
@@ -69,6 +68,7 @@ busybox.links:
clean:
- rm -f $(PROG) busybox.links *~ *.o core
+ - rm -rf busybox_install
distclean: clean
- rm -f $(PROG)
@@ -77,8 +77,8 @@ force:
$(OBJECTS): busybox.def.h internal.h Makefile
-install: $(PROG)
- install.sh $(BINDIR)
+install: busybox
+ install.sh $(PREFIX)
whichversion:
@echo $(VERSION)