1From 7314d232f8e85879d8f4c311ced44ee5b21fb239 Mon Sep 17 00:00:00 2001 2From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 3Date: Wed, 10 Feb 2016 23:26:27 +0100 4Subject: [PATCH] Makefile: allow to override the PREFIX variable 5 6Some people may not want to install in /usr/local, so this commit 7makes it possible to override the PREFIX variable from the make 8command line. 9 10Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 11--- 12 13 Makefile | 2 +- 14 1 file changed, 1 insertion(+), 1 deletion(-) 15 16diff --git a/Makefile b/Makefile 17index 69f5aca..f9a6781 100644 18--- a/Makefile 19+++ b/Makefile 20@@ -20,7 +20,7 @@ 21 # $Id$ 22 23 DESTDIR= 24-PREFIX=/usr/local 25+PREFIX?=/usr/local 26 ETCDIR=/etc/vpnc 27 BINDIR=$(PREFIX)/bin 28 SBINDIR=$(PREFIX)/sbin 29-- 302.6.4 31 32