doc/Makefile

Mon, 18 May 2020 11:00:59 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Mon, 18 May 2020 11:00:59 +0200
changeset 679
48f8f3fce7c0
parent 362
42321bf1bab0
permissions
-rw-r--r--

Added reconnecting-websocket.js to automatic reconnect the websocket if the connection is lost. Usefull for mobile devices that go to sleep after a while. Changed mon_fermenters to use websockets instead of polling. Fixed wrong temperature color ranges on the fermenter monior. Increased the websocket receive buffer to 2048. In cannot overflow, but larger messages are chunked and the application does not handle these split messages. Needs termferm 0.9.9 or newer.

# 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 bms-ch4.sgml \
		  bms-ch5.sgml bms-ch6.sgml bms-ch7.sgml bms-ch8.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