Mon, 25 Feb 2019 17:29:35 +0100
Show yeast starter on printed page
2 | 1 | # Makefile for the bms webserver |
2 | # Copyright (c) 2018 by M. Broek. | |
3 | ||
4 | include ../Makefile.global | |
5 | ||
257
62e294ab94f5
Version 0.0.6. Added a crontask that adjusts the stage of packaged beer depending on the days passed packaging
Michiel Broek <mbroek@mbse.eu>
parents:
249
diff
changeset
|
6 | SRC = cmd_fermenter.php config.php.dist crontasks.php favicon.ico gen_about.php \ |
62e294ab94f5
Version 0.0.6. Added a crontask that adjusts the stage of packaged beer depending on the days passed packaging
Michiel Broek <mbroek@mbse.eu>
parents:
249
diff
changeset
|
7 | getfermentablesources.php \ |
173 | 8 | getfermenter.php getfermentlog.php gethopsources.php getmiscsources.php \ |
9 | getnode.php getwatersources.php getyeastsources.php index.php \ | |
10 | inv_equipments.php inv_fermentables.php inv_hops.php inv_instock.php \ | |
11 | inv_miscs.php inv_suppliers.php inv_waters.php inv_yeasts.php \ | |
12 | log_fermentation.php mon_brewer.php mon_fermenter.php mon_node.php \ | |
292
90cd3798edc2
Added archive view on date and code.
Michiel Broek <mbroek@mbse.eu>
parents:
291
diff
changeset
|
13 | prod_archive_code.php prod_archive_date.php prod_archive_name.php \ |
178 | 14 | prod_edit.php prod_export.php prod_inprod.php prod_new.php prod_print.php \ |
274
65ca75fc4af8
Added prod_reduce.php to the Makefile. Inventory fermentables uses 3 decimals in stead of 1.
Michiel Broek <mbroek@mbse.eu>
parents:
257
diff
changeset
|
15 | prod_reduce.php profile_fermentation.php \ |
173 | 16 | profile_mash.php profile_setup.php profile_styles.php profile_water.php \ |
176 | 17 | rec_edit.php rec_export.php rec_main.php rec_new.php rec_print.php \ |
18 | version.php | |
5
36387e45a194
Added Makefile install commands
Michiel Broek <mbroek@mbse.eu>
parents:
4
diff
changeset
|
19 | SUB = version.php.in images/* css/* jqwidgets/* jqwidgets/styles/* \ |
10
606b4af8f918
Start of the merge with another unfinished project
Michiel Broek <mbroek@mbse.eu>
parents:
5
diff
changeset
|
20 | jqwidgets/styles/images/* jqwidgets/globalization/* js/* \ |
81 | 21 | includes/* fpdf/* import/* |
2 | 22 | OTHER = Makefile |
23 | ||
24 | ############################################################################# | |
25 | ||
26 | .c.o: | |
27 | ${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $< | |
28 | ||
29 | all: | |
30 | ||
31 | clean: | |
32 | rm -f version.php | |
33 | ||
34 | install: | |
189
6470e5c6a001
In bmsd added missing json percent. The Makefile didn't install the fpdf library. Added profile commands. Small changes to the monitor fermenters screen. The monitor fermenters scheduler is now more responsive. Profiles selection and commands in the remote thermferm.
Michiel Broek <mbroek@mbse.eu>
parents:
186
diff
changeset
|
35 | ${INSTALL} -d -g 314 -o 314 ${PREFIX} ${WWWDIR} ${WWWDIR}/css ${WWWDIR}/fpdf \ |
6470e5c6a001
In bmsd added missing json percent. The Makefile didn't install the fpdf library. Added profile commands. Small changes to the monitor fermenters screen. The monitor fermenters scheduler is now more responsive. Profiles selection and commands in the remote thermferm.
Michiel Broek <mbroek@mbse.eu>
parents:
186
diff
changeset
|
36 | ${WWWDIR}/fpdf/font \ |
24 | 37 | ${WWWDIR}/jqwidgets ${WWWDIR}/js ${WWWDIR}/images/ ${WWWDIR}/includes/ |
183
a810539dc218
Added cmd_fermenter.php which interfaces http POST commands to MQTT using mosquitto_pub in a shell. Several chnges to the monitor fermenter screen.
Michiel Broek <mbroek@mbse.eu>
parents:
178
diff
changeset
|
38 | ${INSTALL} -d -g 314 -o 314 -m 0777 ${WWWDIR}/run |
194
d202777ebae5
Added design notes for the csv log format from fermenters. In bmsd configuration added the web_root entry. Switched fermenter DLOG messages to store the log in flat csv files instead of the database. This is much faster and the graphs look better.
Michiel Broek <mbroek@mbse.eu>
parents:
189
diff
changeset
|
39 | ${INSTALL} -d -g 314 -o 314 ${WWWDIR}/log |
d202777ebae5
Added design notes for the csv log format from fermenters. In bmsd configuration added the web_root entry. Switched fermenter DLOG messages to store the log in flat csv files instead of the database. This is much faster and the graphs look better.
Michiel Broek <mbroek@mbse.eu>
parents:
189
diff
changeset
|
40 | ${INSTALL} -d -g 314 -o 314 ${WWWDIR}/log/brews |
d202777ebae5
Added design notes for the csv log format from fermenters. In bmsd configuration added the web_root entry. Switched fermenter DLOG messages to store the log in flat csv files instead of the database. This is much faster and the graphs look better.
Michiel Broek <mbroek@mbse.eu>
parents:
189
diff
changeset
|
41 | ${INSTALL} -d -g 314 -o 314 ${WWWDIR}/log/fermentation |
249
96e6c726d563
Fix permissions in the web directories.
Michiel Broek <mbroek@mbse.eu>
parents:
194
diff
changeset
|
42 | ${INSTALL} -g 314 -o 314 -m 0644 ${SRC} ${WWWDIR}/ |
96e6c726d563
Fix permissions in the web directories.
Michiel Broek <mbroek@mbse.eu>
parents:
194
diff
changeset
|
43 | ${INSTALL} -g 314 -o 314 -m 0644 version.php ${WWWDIR}/ |
96e6c726d563
Fix permissions in the web directories.
Michiel Broek <mbroek@mbse.eu>
parents:
194
diff
changeset
|
44 | ${INSTALL} -g 314 -o 314 -m 0644 css/* ${WWWDIR}/css/ |
96e6c726d563
Fix permissions in the web directories.
Michiel Broek <mbroek@mbse.eu>
parents:
194
diff
changeset
|
45 | ${INSTALL} -g 314 -o 314 -m 0644 images/* ${WWWDIR}/images/ |
96e6c726d563
Fix permissions in the web directories.
Michiel Broek <mbroek@mbse.eu>
parents:
194
diff
changeset
|
46 | ${INSTALL} -g 314 -o 314 -m 0644 includes/* ${WWWDIR}/includes/ |
5
36387e45a194
Added Makefile install commands
Michiel Broek <mbroek@mbse.eu>
parents:
4
diff
changeset
|
47 | cp -r jqwidgets/* ${WWWDIR}/jqwidgets/ |
36387e45a194
Added Makefile install commands
Michiel Broek <mbroek@mbse.eu>
parents:
4
diff
changeset
|
48 | chown -R 314:314 ${WWWDIR}/jqwidgets |
249
96e6c726d563
Fix permissions in the web directories.
Michiel Broek <mbroek@mbse.eu>
parents:
194
diff
changeset
|
49 | cp -r -p fpdf/* ${WWWDIR}/fpdf/ |
189
6470e5c6a001
In bmsd added missing json percent. The Makefile didn't install the fpdf library. Added profile commands. Small changes to the monitor fermenters screen. The monitor fermenters scheduler is now more responsive. Profiles selection and commands in the remote thermferm.
Michiel Broek <mbroek@mbse.eu>
parents:
186
diff
changeset
|
50 | chown -R 314:314 ${WWWDIR}/fpdf |
249
96e6c726d563
Fix permissions in the web directories.
Michiel Broek <mbroek@mbse.eu>
parents:
194
diff
changeset
|
51 | ${INSTALL} -g 314 -o 314 -m 0644 js/* ${WWWDIR}/js/ |
2 | 52 | |
53 | filelist: Makefile | |
54 | BASE=`pwd`; \ | |
55 | BASE=`basename $${BASE}`; \ | |
5
36387e45a194
Added Makefile install commands
Michiel Broek <mbroek@mbse.eu>
parents:
4
diff
changeset
|
56 | (for f in ${SRC} ${SUB} ${OTHER} ;do echo ${PACKAGE}-${VERSION}/$${BASE}/$$f; done) >filelist |
2 | 57 | |
58 | depend: | |
59 |