Makefiles: Do not override PREFIX or DESTDIR from the environment
These are not set in normal shell sessions. Honouring existing settings allows the caller of ./build to specify alternative values. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
This commit is contained in:
@@ -22,8 +22,8 @@
|
||||
#################################################################################
|
||||
|
||||
VERSION=$(shell cat ../VERSION)
|
||||
DESTDIR=/usr
|
||||
PREFIX=/local
|
||||
DESTDIR?=/usr
|
||||
PREFIX?=/local
|
||||
|
||||
ifneq ($V,1)
|
||||
Q ?= @
|
||||
|
||||
Reference in New Issue
Block a user