www/Makefile

Fri, 30 Nov 2018 17:40:39 +0100

author
Michiel Broek <mbroek@mbse.eu>
date
Fri, 30 Nov 2018 17:40:39 +0100
changeset 116
ac993ef43b13
parent 111
8c4ba91adf58
child 173
4cda47269c02
permissions
-rw-r--r--

Removed all calculations from the equipemnts database script and added missing fields. Added missing fields to the inventory equipemnts edit screen. Added conditional batch size calculation to the equipments editor. Added specific heat settings to the equipments editor.

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

include ../Makefile.global

SRC		= config.php.dist gen_about.php getfermentablesources.php getfermenter.php \
		  gethopsources.php getmiscsources.php getnode.php getwatersources.php \
		  getyeastsources.php index.php inv_equipments.php inv_fermentables.php \
		  inv_hops.php inv_instock.php inv_miscs.php inv_suppliers.php \
		  inv_waters.php inv_yeasts.php mon_brewer.php  mon_fermenter.php \
		  mon_node.php prod_edit.php prod_inprod.php prod_new.php \
		  profile_mash.php profile_setup.php profile_styles.php \
		  profile_water.php rec_edit.php rec_main.php rec_new.php rec_print.php \
	    	  version.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