From bb37c6b4d5ffcd54a012514845eeaa86db71db89 Mon Sep 17 00:00:00 2001 From: Karl Lehenbauer Date: Tue, 14 Oct 2014 02:58:01 -0500 Subject: [PATCH] "make install" updates * Install dump1090 to /usr/bin in the Linux style (rather than /usr/local/bin). * Install HTML files as part of the "make install" (rather than requiring one to do some variant of "make -f makefaup1090 install" to get the HTML files dump1090 needs into their right location. As a result of this a "sudo make install" should produce a working standalone dump1090, though makefaup1090 options still add capabilities like starting and stopping dump1090 and boot and shutdown. --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 878eed0..aa9a724 100644 --- a/Makefile +++ b/Makefile @@ -36,5 +36,6 @@ clean: rm -f *.o dump1090 view1090 install: - install dump1090 /usr/local/bin - cp -R public_html /usr/local/lib/beast_connector/ + install -t $(BINDIR) dump1090 + mkdir -p $(HTMLDIR) + cp -R public_html $(SHAREDIR)