From 6994b4eb76721acdd05549821358449392f98446 Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Tue, 7 Nov 2017 11:41:47 +0100 Subject: [PATCH] Correctly use $PREFIX in mail-wrapper Makefile --- mail/wrapper/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mail/wrapper/Makefile b/mail/wrapper/Makefile index cadead7..0750b0a 100644 --- a/mail/wrapper/Makefile +++ b/mail/wrapper/Makefile @@ -17,6 +17,6 @@ check-local: install-local: mail-wrapper install -d -o $(USER) -g $(GROUP) -m 755 \ - $(DESTDIR)/usr/local/bin + $(DESTDIR)$(PREFIX)/bin install -p -o $(USER) -g $(GROUP) -m 755 mail-wrapper \ - $(DESTDIR)/usr/local/bin/mail-wrapper + $(DESTDIR)$(PREFIX)/bin/mail-wrapper -- 2.39.2