Makefile

Tue, 31 Aug 2021 20:48:37 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Tue, 31 Aug 2021 20:48:37 +0200
changeset 774
92e1e8f175a2
parent 0
033898178630
permissions
-rw-r--r--

Split batch, adjust mash step volume. In the duplicated log_brew handle the missing values. In save product, round the mash step sg to 4 decimals. In prod_edit, ingredients are stored as strings, not arrays. This triggered a memory corruption that only happened in rare circumstances. Don't fix mash step fields in the javascript, it is already done during load from the database. Calculation of the mash volume is rounded to 6 decimals. Enter mash step Brix/Plato value, the SG result is rounded to 4 decimals.

# Top-level makefile for bms.

include Makefile.global

OTHER		= ChangeLog COPYING Makefile Makefile.global.in aclocal.m4 \
		  config.h.in configure configure.ac
TARFILE		= ${PACKAGE}-${VERSION}.tar.bz2

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


all depend:
		for d in ${SUBDIRS}; do (cd $$d && ${MAKE} $@) || exit; done;

install:
		for d in ${SUBDIRS}; do (cd $$d && ${MAKE} $@) || exit; done;

dist tar:	${TARFILE}

clean:
		for d in ${SUBDIRS}; do (cd $$d && ${MAKE} $@) || exit; done;
		rm -f .filelist core ${TARFILE} config.h Makefile.global

${TARFILE}:	.filelist
		cd ..; ln -s ${PACKAGE} ${PACKAGE}-${VERSION} ; rm -f ${TARFILE}; \
		${TAR} cvTf ./${PACKAGE}-${VERSION}/.filelist - | bzip2 >${TARFILE} ; \
		rm -f ${PACKAGE}-${VERSION}

.filelist filelist:
		(for f in ${OTHER} ;do echo ${PACKAGE}-${VERSION}/$$f; done) >.filelist
		for d in ${SUBDIRS}; do (cd $$d && ${MAKE} filelist && cat filelist >>../.filelist) || exit; done;

mercurial