1 # Makefile for the bms webserver |
1 # Makefile for the bms webserver |
2 # Copyright (c) 2018 by M. Broek. |
2 # Copyright (c) 2018 by M. Broek. |
3 |
3 |
4 include ../Makefile.global |
4 include ../Makefile.global |
5 |
5 |
6 SRC = config.php.dist favicon.ico gen_about.php getfermentablesources.php \ |
6 SRC = cmd_fermenter.php config.php.dist favicon.ico gen_about.php getfermentablesources.php \ |
7 getfermenter.php getfermentlog.php gethopsources.php getmiscsources.php \ |
7 getfermenter.php getfermentlog.php gethopsources.php getmiscsources.php \ |
8 getnode.php getwatersources.php getyeastsources.php index.php \ |
8 getnode.php getwatersources.php getyeastsources.php index.php \ |
9 inv_equipments.php inv_fermentables.php inv_hops.php inv_instock.php \ |
9 inv_equipments.php inv_fermentables.php inv_hops.php inv_instock.php \ |
10 inv_miscs.php inv_suppliers.php inv_waters.php inv_yeasts.php \ |
10 inv_miscs.php inv_suppliers.php inv_waters.php inv_yeasts.php \ |
11 log_fermentation.php mon_brewer.php mon_fermenter.php mon_node.php \ |
11 log_fermentation.php mon_brewer.php mon_fermenter.php mon_node.php \ |
29 rm -f version.php |
29 rm -f version.php |
30 |
30 |
31 install: |
31 install: |
32 ${INSTALL} -d -g 314 -o 314 ${PREFIX} ${WWWDIR} ${WWWDIR}/css \ |
32 ${INSTALL} -d -g 314 -o 314 ${PREFIX} ${WWWDIR} ${WWWDIR}/css \ |
33 ${WWWDIR}/jqwidgets ${WWWDIR}/js ${WWWDIR}/images/ ${WWWDIR}/includes/ |
33 ${WWWDIR}/jqwidgets ${WWWDIR}/js ${WWWDIR}/images/ ${WWWDIR}/includes/ |
|
34 ${INSTALL} -d -g 314 -o 314 -m 0777 ${WWWDIR}/run |
34 ${INSTALL} -g 314 -o 314 ${SRC} ${WWWDIR}/ |
35 ${INSTALL} -g 314 -o 314 ${SRC} ${WWWDIR}/ |
35 ${INSTALL} -g 314 -o 314 version.php ${WWWDIR}/ |
36 ${INSTALL} -g 314 -o 314 version.php ${WWWDIR}/ |
36 ${INSTALL} -g 314 -o 314 css/* ${WWWDIR}/css/ |
37 ${INSTALL} -g 314 -o 314 css/* ${WWWDIR}/css/ |
37 ${INSTALL} -g 314 -o 314 images/* ${WWWDIR}/images/ |
38 ${INSTALL} -g 314 -o 314 images/* ${WWWDIR}/images/ |
38 ${INSTALL} -g 314 -o 314 includes/* ${WWWDIR}/includes/ |
39 ${INSTALL} -g 314 -o 314 includes/* ${WWWDIR}/includes/ |