doc/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 362
42321bf1bab0
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.

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

include ../Makefile.global

SRC		= bms.sgml bms-ch1.sgml bms-ch2.sgml bms-ch3.sgml bms-ch4.sgml \
		  bms-ch5.sgml bms-ch6.sgml bms-ch7.sgml bms-ch8.sgml
HTML		= bms.html
PDF		= bms.pdf
OTHER		= Makefile docbook-utils.dsl 

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

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

all:		pdf

bms.pdf:	${SRC} docbook-utils.dsl
		docbook2pdf -d docbook-utils.dsl#print bms.sgml

bms.html:	${SRC} docbook-utils.dsl
		docbook2html -d docbook-utils.dsl#html -u bms.sgml

pdf:		${PDF}

html:		${HTML}

clean:
		rm -f *.pdf *.html

install:	all

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

depend:

mercurial