]> git.rkrishnan.org Git - pihpsdr.git/commitdiff
changed init of DESTDIR variable
authorc vw <dl1ycf@darc.de>
Thu, 22 Jul 2021 17:05:14 +0000 (19:05 +0200)
committerc vw <dl1ycf@darc.de>
Thu, 22 Jul 2021 17:05:14 +0000 (19:05 +0200)
Makefile

index a5fdd1965da3785fb9dae1b0387a024b973abc2a..97c7409c36b768a72e2907ef916083dd8928c15e 100644 (file)
--- 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)