Adjusted install.sh to use relative symlinks, and to optionally

create hardlinks.  Added a makefile target to create hardlinks.
 -Erik
This commit is contained in:
Eric Andersen
2000-07-20 21:57:11 +00:00
parent 3950596e1e
commit 51154bacbe
3 changed files with 80 additions and 17 deletions

View File

@@ -23,6 +23,9 @@ VERSION := 0.46
BUILDTIME := $(shell TZ=UTC date --utc "+%Y.%m.%d-%H:%M%z")
export VERSION
# If you want a static binary, turn this on.
DOSTATIC = false
# Set the following to `true' to make a debuggable build.
# Leave this set to `false' for production use.
# eg: `make DODEBUG=true tests'
@@ -37,9 +40,6 @@ DODEBUG = false
# Do not enable this for production builds...
DODMALLOC = false
# If you want a static binary, turn this on.
DOSTATIC = false
# If you are running a cross compiler, you may want to set this
# to something more interesting...
CROSS =
@@ -182,6 +182,9 @@ distclean: clean
install: busybox busybox.links
./install.sh $(PREFIX)
install-hardlinks: busybox busybox.links
./install.sh $(PREFIX) --hardlinks
dist release: distclean doc
cd ..; \
rm -rf busybox-$(VERSION); \