From 93ef3b1d814ad4fc2a71aeb1fcce1cfde307e172 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= Date: Sat, 17 Aug 2013 21:28:10 +0200 Subject: [PATCH] can-utils: Don't overwrite PREFIX and DESTDIR when provided via the environment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit For creating a Debian package providing PREFIX and DESTDIR via the environment is the easiest option. So use ?= to assign these two variables to honor the values in the environment. Signed-off-by: Uwe Kleine-König Signed-off-by: Oliver Hartkopp --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index c3e6d9c..2f79ee7 100644 --- a/Makefile +++ b/Makefile @@ -38,8 +38,8 @@ # # Send feedback to -DESTDIR = -PREFIX = /usr/local +DESTDIR ?= +PREFIX ?= /usr/local MAKEFLAGS = -k