Sun, 02 Jun 2019 19:56:44 +0200
Moved the reduce inventory code from the crontask to the db_productsphp file so the reduce is done only after a save of a record.
# Makefile for the mbsePi-apps/thermferm. include ../Makefile.global TARGET = bmsd OTHER = Makefile crontask ############################################################################# .c.o: ${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $< all: clean: install: ${INSTALL} -d -g 314 -o 314 ${PREFIX} ${BINDIR} ${INSTALL} -c -g 314 -o 314 -m 0755 crontask ${BINDIR} filelist: Makefile BASE=`pwd`; \ BASE=`basename $${BASE}`; \ (for f in ${OTHER} ;do echo ${PACKAGE}-${VERSION}/$${BASE}/$$f; done) >filelist