doc/Makefile

Sat, 15 Dec 2018 21:27:01 +0100

author
Michiel Broek <mbroek@mbse.eu>
date
Sat, 15 Dec 2018 21:27:01 +0100
changeset 142
793af7691a5e
parent 0
033898178630
child 362
42321bf1bab0
permissions
-rw-r--r--

During hops load an extra weight in grams field is generated for the grid. Edit the amount is done on the weight field and the amount field is updated too. During save to the database the extra field is removed.

# 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