diff options
author | Marco Hinz <mh.codebro@gmail.com> | 2016-10-16 12:17:00 +0200 |
---|---|---|
committer | Marco Hinz <mh.codebro@gmail.com> | 2016-10-16 12:17:00 +0200 |
commit | 0fa4f98a05bbcb60b5c317fac0e70da3821688fe (patch) | |
tree | 5281895fa1232692e60eaa3f4cd1699cdeb7f03e | |
parent | 97caabc49a4fa73e9f12fd5c910c1ba67292ba62 (diff) | |
download | rneovim-0fa4f98a05bbcb60b5c317fac0e70da3821688fe.tar.gz rneovim-0fa4f98a05bbcb60b5c317fac0e70da3821688fe.tar.bz2 rneovim-0fa4f98a05bbcb60b5c317fac0e70da3821688fe.zip |
Revert "Makefile: add PREFIX variable"
This reverts commit c13f72ee0a6600963a10e57155d2e814d56599e2.
References #5447.
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | contrib/local.mk.example | 2 |
2 files changed, 1 insertions, 5 deletions
@@ -13,10 +13,6 @@ CLINT_ERRORS_FILE_PATH := /reports/clint/errors.json BUILD_TYPE ?= $(shell (type ninja > /dev/null 2>&1 && echo "Ninja") || \ echo "Unix Makefiles") -ifneq (,$(PREFIX)) - CMAKE_FLAGS += -DCMAKE_INSTALL_PREFIX:PATH="$(PREFIX)" -endif - ifeq (,$(BUILD_TOOL)) ifeq (Ninja,$(BUILD_TYPE)) ifneq ($(shell cmake --help 2>/dev/null | grep Ninja),) diff --git a/contrib/local.mk.example b/contrib/local.mk.example index 6959107ea2..a0b2d034e1 100644 --- a/contrib/local.mk.example +++ b/contrib/local.mk.example @@ -2,7 +2,7 @@ # Individual entries must be uncommented to take effect. # By default, the installation prefix is '/usr/local'. -# PREFIX := /usr/local/nvim-latest +# CMAKE_EXTRA_FLAGS += -DCMAKE_INSTALL_PREFIX=/usr/local/nvim-latest # These CFLAGS can be used in addition to those specified in CMakeLists.txt: # CMAKE_EXTRA_FLAGS="-DCMAKE_C_FLAGS=-ftrapv -Wlogical-op" |