Mon, 12 Nov 2018 16:34:43 +0100
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.
0 | 1 | # Makefile for the bms documentation. |
2 | # Copyright (c) 2018 by M. Broek. | |
3 | ||
4 | include ../Makefile.global | |
5 | ||
6 | SRC = bms.sgml bms-ch1.sgml bms-ch2.sgml bms-ch3.sgml | |
7 | HTML = bms.html | |
8 | PDF = bms.pdf | |
9 | OTHER = Makefile docbook-utils.dsl | |
10 | ||
11 | ############################################################################# | |
12 | ||
13 | .c.o: | |
14 | ${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $< | |
15 | ||
16 | all: pdf | |
17 | ||
18 | bms.pdf: ${SRC} docbook-utils.dsl | |
19 | docbook2pdf -d docbook-utils.dsl#print bms.sgml | |
20 | ||
21 | bms.html: ${SRC} docbook-utils.dsl | |
22 | docbook2html -d docbook-utils.dsl#html -u bms.sgml | |
23 | ||
24 | pdf: ${PDF} | |
25 | ||
26 | html: ${HTML} | |
27 | ||
28 | clean: | |
29 | rm -f *.pdf *.html | |
30 | ||
31 | install: all | |
32 | ||
33 | filelist: Makefile | |
34 | BASE=`pwd`; \ | |
35 | BASE=`basename $${BASE}`; \ | |
36 | (for f in ${SRC} ${OTHER} ;do echo ${PACKAGE}-${VERSION}/$${BASE}/$$f; done) >filelist | |
37 | ||
38 | depend: | |
39 |