Makefile: set PREFIX to conditional assignment

When the variable PREFIX is provided on the command line, do not
override the value.

Signed-off-by: Dan Kalowsky <dank@deadmime.org>
This commit is contained in:
Dan Kalowsky 2018-08-22 14:37:11 -07:00
parent dc86f8b6ae
commit 7f70c8b728

View file

@ -1,4 +1,4 @@
PREFIX=/usr/local
PREFIX ?= /usr/local
TASK_DONE = echo -e "\n✓ $@ done\n"
# files that need mode 755
EXEC_FILES=git-quick-stats