From: c vw Date: Thu, 22 Jul 2021 17:05:14 +0000 (+0200) Subject: changed init of DESTDIR variable X-Git-Url: https://git.rkrishnan.org/Site/Content/$sch_link?a=commitdiff_plain;h=094bde517e4d8edc7d9b9c09ae170889f20c94ec;p=pihpsdr.git changed init of DESTDIR variable --- diff --git a/Makefile b/Makefile index a5fdd19..97c7409 100644 --- a/Makefile +++ b/Makefile @@ -521,9 +521,7 @@ clean: # # If $DESTDIR is set, copy to that directory, otherwise use /usr/local/bin # -ifeq ($(DESTDIR), ) -DESTDIR := /usr/local/bin -endif +DESTDIR?= /usr/local/bin .PHONY: install install: $(PROGRAM)