www/Makefile

Mon, 12 Nov 2018 16:34:43 +0100

author
Michiel Broek <mbroek@mbse.eu>
date
Mon, 12 Nov 2018 16:34:43 +0100
changeset 89
082c23b26055
parent 81
aad866b2bcea
child 110
0f128201a031
permissions
-rw-r--r--

Missing Water agent costs from Brouwhulp import are now added from the imported miscs database. The printed recipe report now calculates the beer color from the ingredients. Also set during recipes import. This will later allow to set the color method for each recipe individually.

# Makefile for the bms webserver
# Copyright (c) 2018 by M. Broek.

include ../Makefile.global

SRC		= config.php.dist gethopsources.php getyeastsources.php inv_hops.php \
	    	  inv_waters.php mon_node.php rec_edit.php version.php gen_about.php \
     		  getmiscsources.php index.php inv_instock.php inv_yeasts.php \
	      	  profile_mash.php rec_main.php getfermentablesources.php getnode.php \
	 	  inv_equipments.php inv_miscs.php mon_brewer.php profile_styles.php \
		  rec_new.php getfermenter.php getwatersources.php inv_fermentables.php \
		  inv_suppliers.php mon_fermenter.php profile_water.php rec_print.php
SUB		= version.php.in images/* css/* jqwidgets/* jqwidgets/styles/* \
		  jqwidgets/styles/images/* jqwidgets/globalization/* js/* \
		  includes/* fpdf/* import/*
OTHER		= Makefile

#############################################################################

.c.o:
		${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $<

all:

clean:
		rm -f version.php

install:
		${INSTALL} -d -g 314 -o 314 ${PREFIX} ${WWWDIR} ${WWWDIR}/css \
			${WWWDIR}/jqwidgets ${WWWDIR}/js ${WWWDIR}/images/ ${WWWDIR}/includes/
		${INSTALL} -g 314 -o 314 ${SRC} ${WWWDIR}/
		${INSTALL} -g 314 -o 314 version.php ${WWWDIR}/
		${INSTALL} -g 314 -o 314 css/* ${WWWDIR}/css/
		${INSTALL} -g 314 -o 314 images/* ${WWWDIR}/images/
		${INSTALL} -g 314 -o 314 includes/* ${WWWDIR}/includes/
		cp -r jqwidgets/* ${WWWDIR}/jqwidgets/
		chown -R 314:314 ${WWWDIR}/jqwidgets
		${INSTALL} -g 314 -o 314 js/* ${WWWDIR}/js/

filelist:	Makefile
		BASE=`pwd`; \
		BASE=`basename $${BASE}`; \
		(for f in ${SRC} ${SUB} ${OTHER} ;do echo ${PACKAGE}-${VERSION}/$${BASE}/$$f; done) >filelist

depend:

mercurial