From db0255032787de0c33cadc9d7cafac91a826f69d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20=C3=96hrstr=C3=B6m?= Date: Sun, 7 May 2023 12:58:25 +0200 Subject: [PATCH] Fix make install to not trigger a build of rtl_wmbus. --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e8b2430..0a37f5e 100644 --- a/Makefile +++ b/Makefile @@ -61,7 +61,8 @@ pi1: rebuild: clean all -install: release +install: + @if [ ! -f $(OUTFILE) ] ; then echo "Cannot find the binary to install! You have to run just \"make\" first!" ; exit 1 ; fi install -d $(DESTDIR)/usr/bin install $(OUTFILE) $(DESTDIR)/usr/bin