Sat, 17 Nov 2018 19:44:39 +0100
Fix for missing coor info on fermentables during recipes import. Log when srm or ebc values are negatie during conversions. Load setup record in global.inc.php and make some variables available for PHP and JS.
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 |