Sat, 15 Dec 2018 21:27:01 +0100
During hops load an extra weight in grams field is generated for the grid. Edit the amount is done on the weight field and the amount field is updated too. During save to the database the extra field is removed.
2 | 1 | # Makefile for the bms webserver |
2 | # Copyright (c) 2018 by M. Broek. | |
3 | ||
4 | include ../Makefile.global | |
5 | ||
110 | 6 | SRC = config.php.dist gen_about.php getfermentablesources.php getfermenter.php \ |
7 | gethopsources.php getmiscsources.php getnode.php getwatersources.php \ | |
8 | getyeastsources.php index.php inv_equipments.php inv_fermentables.php \ | |
9 | inv_hops.php inv_instock.php inv_miscs.php inv_suppliers.php \ | |
10 | inv_waters.php inv_yeasts.php mon_brewer.php mon_fermenter.php \ | |
111
8c4ba91adf58
Basic screens for brew products.
Michiel Broek <mbroek@mbse.eu>
parents:
110
diff
changeset
|
11 | mon_node.php prod_edit.php prod_inprod.php prod_new.php \ |
8c4ba91adf58
Basic screens for brew products.
Michiel Broek <mbroek@mbse.eu>
parents:
110
diff
changeset
|
12 | profile_mash.php profile_setup.php profile_styles.php \ |
110 | 13 | profile_water.php rec_edit.php rec_main.php rec_new.php rec_print.php \ |
14 | version.php | |
5
36387e45a194
Added Makefile install commands
Michiel Broek <mbroek@mbse.eu>
parents:
4
diff
changeset
|
15 | 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
|
16 | jqwidgets/styles/images/* jqwidgets/globalization/* js/* \ |
81 | 17 | includes/* fpdf/* import/* |
2 | 18 | OTHER = Makefile |
19 | ||
20 | ############################################################################# | |
21 | ||
22 | .c.o: | |
23 | ${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $< | |
24 | ||
25 | all: | |
26 | ||
27 | clean: | |
28 | rm -f version.php | |
29 | ||
30 | install: | |
5
36387e45a194
Added Makefile install commands
Michiel Broek <mbroek@mbse.eu>
parents:
4
diff
changeset
|
31 | ${INSTALL} -d -g 314 -o 314 ${PREFIX} ${WWWDIR} ${WWWDIR}/css \ |
24 | 32 | ${WWWDIR}/jqwidgets ${WWWDIR}/js ${WWWDIR}/images/ ${WWWDIR}/includes/ |
5
36387e45a194
Added Makefile install commands
Michiel Broek <mbroek@mbse.eu>
parents:
4
diff
changeset
|
33 | ${INSTALL} -g 314 -o 314 ${SRC} ${WWWDIR}/ |
36387e45a194
Added Makefile install commands
Michiel Broek <mbroek@mbse.eu>
parents:
4
diff
changeset
|
34 | ${INSTALL} -g 314 -o 314 version.php ${WWWDIR}/ |
36387e45a194
Added Makefile install commands
Michiel Broek <mbroek@mbse.eu>
parents:
4
diff
changeset
|
35 | ${INSTALL} -g 314 -o 314 css/* ${WWWDIR}/css/ |
36387e45a194
Added Makefile install commands
Michiel Broek <mbroek@mbse.eu>
parents:
4
diff
changeset
|
36 | ${INSTALL} -g 314 -o 314 images/* ${WWWDIR}/images/ |
24 | 37 | ${INSTALL} -g 314 -o 314 includes/* ${WWWDIR}/includes/ |
5
36387e45a194
Added Makefile install commands
Michiel Broek <mbroek@mbse.eu>
parents:
4
diff
changeset
|
38 | cp -r jqwidgets/* ${WWWDIR}/jqwidgets/ |
36387e45a194
Added Makefile install commands
Michiel Broek <mbroek@mbse.eu>
parents:
4
diff
changeset
|
39 | chown -R 314:314 ${WWWDIR}/jqwidgets |
36387e45a194
Added Makefile install commands
Michiel Broek <mbroek@mbse.eu>
parents:
4
diff
changeset
|
40 | ${INSTALL} -g 314 -o 314 js/* ${WWWDIR}/js/ |
2 | 41 | |
42 | filelist: Makefile | |
43 | BASE=`pwd`; \ | |
44 | BASE=`basename $${BASE}`; \ | |
5
36387e45a194
Added Makefile install commands
Michiel Broek <mbroek@mbse.eu>
parents:
4
diff
changeset
|
45 | (for f in ${SRC} ${SUB} ${OTHER} ;do echo ${PACKAGE}-${VERSION}/$${BASE}/$$f; done) >filelist |
2 | 46 | |
47 | depend: | |
48 |