Adjusted install.sh to use relative symlinks, and to optionally
create hardlinks. Added a makefile target to create hardlinks.
-Erik
diff --git a/Makefile b/Makefile
index f4df9c7..a17225c 100644
--- a/Makefile
+++ b/Makefile
@@ -23,6 +23,9 @@
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 @@
# 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 @@
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); \