"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.
This commit is contained in:
Karl Lehenbauer 2014-10-14 02:58:01 -05:00
parent 63dee8bcc6
commit bb37c6b4d5
1 changed files with 3 additions and 2 deletions

View File

@ -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)