Add an install prefix rather than require setting both BIN_INSTALL_DIR and LIB_INSTALL_DIR. Signed-off-by: Matt Helsley <matthltc@xxxxxxxxxx> --- Makefile | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index b312358..a8f426a 100644 --- a/Makefile +++ b/Makefile @@ -18,8 +18,9 @@ WARNS := -Wall -Wstrict-prototypes -Wno-trigraphs CFLAGS += -g $(WARNS) $(CKPT_INCLUDE) $(DEBUG) # install dir -BIN_INSTALL_DIR = /bin -LIB_INSTALL_DIR = /lib +PREFIX ?= /usr/local +BIN_INSTALL_DIR := $(PREFIX)/bin +LIB_INSTALL_DIR := $(PREFIX)/lib ECLONE_PROGS = restart nsexec PROGS = checkpoint ckptinfo $(ECLONE_PROGS) -- 1.6.3.3 _______________________________________________ Containers mailing list Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/containers