Commit 0689c530 authored by Carla Guillen Carias's avatar Carla Guillen Carias
Browse files

Separating the installation of configuration files from binaries/libs,...

Separating the installation of configuration files from binaries/libs, otherwise they get overwritten with make install
parent f45f66f5
......@@ -68,9 +68,11 @@ install_lib: $(PLUGIN_LIBS)
install_conf: $(foreach p,global $(PLUGINS),config/$(p).conf)
install -m 644 $^ $(DCDBDEPLOYPATH)/etc/
install: $(TARGET) install_lib install_conf
install: $(TARGET) install_lib
install $(TARGET) $(DCDBDEPLOYPATH)/bin/
@echo "to copy configuration files type:"
@echo " > make install_conf"
src/Sensor.o: CXXFLAGS+= $(PLUGINFLAGS)
src/SensorGroup.o: CXXFLAGS+= $(PLUGINFLAGS)
src/sensors/%.o: CXXFLAGS+= $(PLUGINFLAGS) -I$(DCDBDEPSPATH)/bacnet-stack-$(BACNET-STACK_VERSION)/include -I$(DCDBDEPSPATH)/bacnet-stack-$(BACNET-STACK_VERSION)/ports/$(BACNET_PORT)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment