doc/Makefile

Mon, 12 Nov 2018 16:34:43 +0100

author
Michiel Broek <mbroek@mbse.eu>
date
Mon, 12 Nov 2018 16:34:43 +0100
changeset 89
082c23b26055
parent 0
033898178630
child 362
42321bf1bab0
permissions
-rw-r--r--

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.

# 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