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

Cyrill Gorcunov gorcunov at openvz.org
Wed Apr 20 02:11:51 PDT 2016


Will need it for uninstall action.

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 Makefile.install | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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:
-- 
2.5.5



More information about the CRIU mailing list