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 <lsm5@fedoraproject.org>
This commit is contained in:
Lokesh Mandvekar
2020-07-08 09:20:03 -04:00
parent 819fcc687e
commit bc1a9c11a2
+1 -1
View File
@@ -1,7 +1,7 @@
CONTAINER_ENGINE := docker
GO := go
PREFIX := $(DESTDIR)/usr/local
PREFIX ?= $(DESTDIR)/usr/local
BINDIR := $(PREFIX)/sbin
MANDIR := $(PREFIX)/share/man