From bc1a9c11a2cda8b0d117705126edd2d03cf4a2ff Mon Sep 17 00:00:00 2001 From: Lokesh Mandvekar Date: Wed, 8 Jul 2020 09:20:03 -0400 Subject: [PATCH] allow customizable PREFIX variable This change would let me specify my own PREFIX so that I can reuse Makefile targets for building rpm packages. Signed-off-by: Lokesh Mandvekar --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index aa7d95a5..b02ebb7f 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ CONTAINER_ENGINE := docker GO := go -PREFIX := $(DESTDIR)/usr/local +PREFIX ?= $(DESTDIR)/usr/local BINDIR := $(PREFIX)/sbin MANDIR := $(PREFIX)/share/man