Fri, 16 Nov 2018 16:20:17 +0100
Added javascript formulas for color calculations. Added IBU total calculation. Better IBI calculation for the hop entries. Blocked selection of IBU calculation for Garetz, Mosher and Noonan. Better sg calculation in the recipe print.
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 |