Tue, 31 Aug 2021 20:48:37 +0200
Split batch, adjust mash step volume. In the duplicated log_brew handle the missing values. In save product, round the mash step sg to 4 decimals. In prod_edit, ingredients are stored as strings, not arrays. This triggered a memory corruption that only happened in rare circumstances. Don't fix mash step fields in the javascript, it is already done during load from the database. Calculation of the mash volume is rounded to 6 decimals. Enter mash step Brix/Plato value, the SG result is rounded to 4 decimals.
574 | 1 | # Makefile for the mbsePi-apps/thermferm. |
2 | ||
3 | include ../Makefile.global | |
4 | ||
5 | OTHER = Makefile bmsd.init | |
6 | ||
7 | ############################################################################# | |
8 | ||
9 | .c.o: | |
10 | ${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $< | |
11 | ||
12 | all: | |
13 | ||
14 | ||
15 | clean: | |
16 | rm -f filelist Makefile.bak | |
17 | ||
18 | install: | |
744
b8ccc85675a0
Added installation for Slackware and separated the systemd.
Michiel Broek <mbroek@mbse.eu>
parents:
574
diff
changeset
|
19 | @if [ -x /lib/systemd/systemd ]; then \ |
b8ccc85675a0
Added installation for Slackware and separated the systemd.
Michiel Broek <mbroek@mbse.eu>
parents:
574
diff
changeset
|
20 | ${INSTALL} -c -g root -o root -m 0755 init.debian /etc/init.d/bmsd ; \ |
b8ccc85675a0
Added installation for Slackware and separated the systemd.
Michiel Broek <mbroek@mbse.eu>
parents:
574
diff
changeset
|
21 | echo "${INSTALL} -c -g root -o root -m 0755 init.debian /etc/init.d/bmsd" ; \ |
b8ccc85675a0
Added installation for Slackware and separated the systemd.
Michiel Broek <mbroek@mbse.eu>
parents:
574
diff
changeset
|
22 | [ -x /bin/systemctl ] && /bin/systemctl daemon-reload ; \ |
b8ccc85675a0
Added installation for Slackware and separated the systemd.
Michiel Broek <mbroek@mbse.eu>
parents:
574
diff
changeset
|
23 | echo "[ -x /bin/systemctl ] && /bin/systemctl daemon-reload" ; \ |
b8ccc85675a0
Added installation for Slackware and separated the systemd.
Michiel Broek <mbroek@mbse.eu>
parents:
574
diff
changeset
|
24 | elif [ -f /etc/slackware-version ]; then \ |
b8ccc85675a0
Added installation for Slackware and separated the systemd.
Michiel Broek <mbroek@mbse.eu>
parents:
574
diff
changeset
|
25 | ${INSTALL} -c -g root -o root -m 0755 init.slackware /etc/rc.d/init.d/bmsd ; \ |
b8ccc85675a0
Added installation for Slackware and separated the systemd.
Michiel Broek <mbroek@mbse.eu>
parents:
574
diff
changeset
|
26 | echo "${INSTALL} -c -g root -o root -m 0755 init.slackware /etc/rc.d/init.d/bmsd" ; \ |
b8ccc85675a0
Added installation for Slackware and separated the systemd.
Michiel Broek <mbroek@mbse.eu>
parents:
574
diff
changeset
|
27 | ${INSTALL} -c -g root -o root -m 0755 setup.slackware /var/log/setup/setup.bmsd ; \ |
b8ccc85675a0
Added installation for Slackware and separated the systemd.
Michiel Broek <mbroek@mbse.eu>
parents:
574
diff
changeset
|
28 | echo "${INSTALL} -c -g root -o root -m 0755 setup.slackware /var/log/setup/setup.bmsd" ; \ |
b8ccc85675a0
Added installation for Slackware and separated the systemd.
Michiel Broek <mbroek@mbse.eu>
parents:
574
diff
changeset
|
29 | else \ |
b8ccc85675a0
Added installation for Slackware and separated the systemd.
Michiel Broek <mbroek@mbse.eu>
parents:
574
diff
changeset
|
30 | echo "Unsupported distribution" ; \ |
b8ccc85675a0
Added installation for Slackware and separated the systemd.
Michiel Broek <mbroek@mbse.eu>
parents:
574
diff
changeset
|
31 | fi |
574 | 32 | |
33 | filelist: Makefile | |
34 | BASE=`pwd`; \ | |
35 | BASE=`basename $${BASE}`; \ | |
36 | (for f in ${SRCS} ${HDRS} ${OTHER} ;do echo ${PACKAGE}-${VERSION}/$${BASE}/$$f; done) >filelist | |
37 | ||
38 | depend: |