From 66168bf06bca05542fe8c65154d6bd9ec642729c Mon Sep 17 00:00:00 2001 From: Marvin Schmidt Date: Wed, 9 Mar 2022 10:12:36 +0100 Subject: [PATCH] make: Include PREFIX in BINDIR --- GNUmakefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index 27b7fd254..06c74b694 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -22,9 +22,9 @@ CARGOFLAGS ?= # Install directories PREFIX ?= /usr/local DESTDIR ?= -BINDIR ?= /bin +BINDIR ?= $(PREFIX)/bin -INSTALLDIR_BIN=$(DESTDIR)$(PREFIX)$(BINDIR) +INSTALLDIR_BIN=$(DESTDIR)$(BINDIR) #prefix to apply to coreutils binary and all tool binaries PROG_PREFIX ?=