[1/2] build: install -- Add BINDIR var

Submitted by Cyrill Gorcunov on April 20, 2016, 9:11 a.m.

Details

Message ID 1461143512-11318-2-git-send-email-gorcunov@openvz.org
State Rejected
Series "build: Implement uninstall action"
Headers show

Patch hide | download patch | download mbox

diff --git a/Makefile.install b/Makefile.install
index d99774198043..b099c23d7e0f 100644
--- a/Makefile.install
+++ b/Makefile.install
@@ -2,6 +2,7 @@ 
 # Installation paths.
 DESTDIR		?= /
 PREFIX		?= /usr/local
+BINDIR		?= $(PREFIX)/bin
 SBINDIR		?= $(PREFIX)/sbin
 MANDIR		?= $(PREFIX)/share/man
 SYSTEMDUNITDIR	?= $(PREFIX)/lib/systemd/system/
@@ -22,7 +23,7 @@  else
         endif
 endif
 
-export SBINDIR MANDIR SYSTEMDUNITDIR LOGROTATEDIR
+export BINDIR SBINDIR MANDIR SYSTEMDUNITDIR LOGROTATEDIR
 export INCLUDEDIR LIBDIR DESTDIR PREFIX
 
 install-tree: