install: Support $(PREFIX) install target directory prefix
authorOlof Johansson <olof@ethup.se>
Tue, 23 Apr 2013 18:17:09 +0000 (20:17 +0200)
committerBen Noordhuis <info@bnoordhuis.nl>
Tue, 23 Apr 2013 20:38:44 +0000 (22:38 +0200)
commitddf4d1a32a404ee3789bc17276702bb5536b03f6
tree9582f6b996eb43176b677b8e17b800c2b0b516f6
parent025f9133bbdae6ecd8acfc623b42dfbd6d15d6f9
install: Support $(PREFIX) install target directory prefix

This change introduces support for the common PREFIX variable in the
Makefile and install.py, instead of having /usr/local hardcoded. This
makes it much easier to install node to custom locations e.g. in a
user's home directory.

The PREFIX variable defaults to /usr/local.
Makefile
tools/install.py