Wed, 07 Nov 2018 14:42:25 +0100
Finish inventory list.
2 | 1 | # Makefile for the bms webserver |
2 | # Copyright (c) 2018 by M. Broek. | |
3 | ||
4 | include ../Makefile.global | |
5 | ||
36
4b829f689d7e
Monitor nodes sorting and removed obsolete scripts.
Michiel Broek <mbroek@mbse.eu>
parents:
29
diff
changeset
|
6 | SRC = getfermenter.php getnode.php config.php.dist index.php \ |
23
4b157d7a1cee
Added first part of mash profiles. Steps are in the database but not in the web ui.
Michiel Broek <mbroek@mbse.eu>
parents:
18
diff
changeset
|
7 | inv_fermentables.php inv_hops.php inv_mash_profiles.php \ |
4b157d7a1cee
Added first part of mash profiles. Steps are in the database but not in the web ui.
Michiel Broek <mbroek@mbse.eu>
parents:
18
diff
changeset
|
8 | inv_miscs.php inv_suppliers.php inv_water_profiles.php \ |
29 | 9 | inv_water_sources.php inv_yeasts.php inv_equipments.php \ |
10 | inv_styles.php \ | |
18
395833e20f88
Better error messages in syslog
Michiel Broek <mbroek@mbse.eu>
parents:
10
diff
changeset
|
11 | mon_brewer.php mon_fermenter.php mon_node.php |
5
36387e45a194
Added Makefile install commands
Michiel Broek <mbroek@mbse.eu>
parents:
4
diff
changeset
|
12 | 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
|
13 | jqwidgets/styles/images/* jqwidgets/globalization/* js/* \ |
606b4af8f918
Start of the merge with another unfinished project
Michiel Broek <mbroek@mbse.eu>
parents:
5
diff
changeset
|
14 | includes/* |
2 | 15 | OTHER = Makefile |
16 | ||
17 | ############################################################################# | |
18 | ||
19 | .c.o: | |
20 | ${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $< | |
21 | ||
22 | all: | |
23 | ||
24 | clean: | |
25 | rm -f version.php | |
26 | ||
27 | install: | |
5
36387e45a194
Added Makefile install commands
Michiel Broek <mbroek@mbse.eu>
parents:
4
diff
changeset
|
28 | ${INSTALL} -d -g 314 -o 314 ${PREFIX} ${WWWDIR} ${WWWDIR}/css \ |
24 | 29 | ${WWWDIR}/jqwidgets ${WWWDIR}/js ${WWWDIR}/images/ ${WWWDIR}/includes/ |
5
36387e45a194
Added Makefile install commands
Michiel Broek <mbroek@mbse.eu>
parents:
4
diff
changeset
|
30 | ${INSTALL} -g 314 -o 314 ${SRC} ${WWWDIR}/ |
36387e45a194
Added Makefile install commands
Michiel Broek <mbroek@mbse.eu>
parents:
4
diff
changeset
|
31 | ${INSTALL} -g 314 -o 314 version.php ${WWWDIR}/ |
36387e45a194
Added Makefile install commands
Michiel Broek <mbroek@mbse.eu>
parents:
4
diff
changeset
|
32 | ${INSTALL} -g 314 -o 314 css/* ${WWWDIR}/css/ |
36387e45a194
Added Makefile install commands
Michiel Broek <mbroek@mbse.eu>
parents:
4
diff
changeset
|
33 | ${INSTALL} -g 314 -o 314 images/* ${WWWDIR}/images/ |
24 | 34 | ${INSTALL} -g 314 -o 314 includes/* ${WWWDIR}/includes/ |
5
36387e45a194
Added Makefile install commands
Michiel Broek <mbroek@mbse.eu>
parents:
4
diff
changeset
|
35 | cp -r jqwidgets/* ${WWWDIR}/jqwidgets/ |
36387e45a194
Added Makefile install commands
Michiel Broek <mbroek@mbse.eu>
parents:
4
diff
changeset
|
36 | chown -R 314:314 ${WWWDIR}/jqwidgets |
36387e45a194
Added Makefile install commands
Michiel Broek <mbroek@mbse.eu>
parents:
4
diff
changeset
|
37 | ${INSTALL} -g 314 -o 314 js/* ${WWWDIR}/js/ |
2 | 38 | |
39 | filelist: Makefile | |
40 | BASE=`pwd`; \ | |
41 | BASE=`basename $${BASE}`; \ | |
5
36387e45a194
Added Makefile install commands
Michiel Broek <mbroek@mbse.eu>
parents:
4
diff
changeset
|
42 | (for f in ${SRC} ${SUB} ${OTHER} ;do echo ${PACKAGE}-${VERSION}/$${BASE}/$$f; done) >filelist |
2 | 43 | |
44 | depend: | |
45 |