doc/Makefile

Fri, 28 Dec 2018 23:18:42 +0100

author
Michiel Broek <mbroek@mbse.eu>
date
Fri, 28 Dec 2018 23:18:42 +0100
changeset 155
041af8a82d77
parent 0
033898178630
child 362
42321bf1bab0
permissions
-rw-r--r--

Some pH calculations cane use twice as much loops, probably because we have better float precision then the original pascal code. More variables to prevent html reads. Use predicted mash pH (the grist in demi water) to calculate the pH shift from the tapwater to the target pH. It's better but not right yet. Or it is right and brouwhulp is far off.

# 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
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