Skip to content

Commit

Permalink
Merge pull request #53 from mouse07410/master
Browse files Browse the repository at this point in the history
Make Makefile respect INSTALL_PREFIX
  • Loading branch information
jakinyele authored Oct 5, 2020
2 parents aea8a81 + 5dd7a5c commit 0539837
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ifndef ZROOT
$(error ZROOT is undefined. Need to source env file: . ./env)
endif

INSTALL_PREFIX = /usr/local
INSTALL_PREFIX ?= /usr/local

docs:
$(MAKE) -C docs
Expand Down
6 changes: 5 additions & 1 deletion macport.env
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
# $ source macport.emv
# $ make && make test
#
# To install, do (after making sure "LOCAL_INSTALL_BIN" points where ypu want it to):
# To install, do (after making sure "INSTALL_PREFIX" (and "LOCAL_INSTALL_BIN") point
# where you want the process to install the binaries):
#
# $ sudo -EH make install
#
Expand Down Expand Up @@ -41,3 +42,6 @@ export ZROOT="${PWD}"
# Where to install "openabe" (following sets it to where Macports
# installs binaries):
export INSTALL_PREFIX="/opt/local"
# Even though LOCAL_INSTALL_BIN seems deprecated now, make sure
# it points at the correct place
export LOCAL_INSTALL_BIN="${INSTALL_PREFIX}/bin"

0 comments on commit 0539837

Please sign in to comment.