Closed bhuvan closed 10 years ago
The following patch may fix it.
diff --git a/Makefile.base b/Makefile.base
index 94e9d96..bd5b1cb 100644
--- a/Makefile.base
+++ b/Makefile.base
@@ -31,7 +31,8 @@ INSTALL=install
ARCH_SUFFIX=64
# where to install files:
#PREFIX=/usr/local
-PREFIX=/tmp/install
+PREFIX ?= /tmp/install
BIN_PREFIX=$(PREFIX)/bin
PERL_PREFIX=/tmp/install
############################################################
Hi Bhuvaneswaran-
I moved all of the install dirs into Makefile.base, and made them all conditional. So now you should be able to overide any or all from the environment.
Thanks! .timrc
It is hard coded in
Makefile.base
: https://github.com/yahoo/mdbm/blob/master/Makefile.base#L34It would be useful if PREFIX is overridable when user run
make install
something like: