Sun, 23 May 2021 16:41:35 +0200
Fermentables, hops, miscs and yeast now have tests against the added moment with the brewing stage. Added to inventory edit rows, delete rows, and pick choices for the moment to add or edit. Some more popups to explain certain blocks.
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: |