on7lds / NextionDriver

Driver program to connect MMDVMhost with Nextion Displays, adding extra functionality
33 stars 33 forks source link

Add install to Makefile #4

Closed dehain closed 5 years ago

dehain commented 5 years ago

Added an install option to the Makefile to make it easy to test changes. Running "make install" will turn off the mmdvmhost service, copy the NextionDriver, and restart the service.

on7lds commented 5 years ago

The problem with this install option is that it supposes NextionDriver always is installed in /usr/local/bin This is true for Pi-Star, but not necessary for other installations (i.e. might be /opt). I'm working on a NextionDriverInstaller script (https://github.com/on7lds/NextionDriverInstaller) that tries to detect the current settings and can install or update the driver.

dehain commented 5 years ago

OK, that makes sense.