Page 1 of 1

make install not updating dzVents directory

Posted: Friday 06 April 2018 22:42
by IanDury
CMakeLists.txt is missing an install line for dzVents. Something like:

Code: Select all

install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/dzVents DESTINATION ${CMAKE_INSTALL_PREFIX})
Any volunteer who can add this line and test this?

Re: make install not updating dzVents directory

Posted: Friday 06 April 2018 23:07
by waaren
You are right. Workaround until fixed is to to do an ./updatebeta before copying your compiled binaray to domoticz binary.

Re: make install not updating dzVents directory

Posted: Monday 09 April 2018 7:35
by dannybloe
What would that do?

Re: make install not updating dzVents directory

Posted: Monday 09 April 2018 12:16
by IanDury
For Linux "(sudo) make install" installs domoticz in /opt/domoticz/ by default. Currently /opt/domoticz/dzVents/ is missing after a "make install" which can be fixed by adding the previously mentioned install line in CMakeLists.txt.

Re: make install not updating dzVents directory

Posted: Monday 09 April 2018 12:59
by dannybloe
Please create a PR for this.

Re: make install not updating dzVents directory

Posted: Tuesday 10 April 2018 17:51
by IanDury