doc/Makefile

changeset 0
033898178630
child 362
42321bf1bab0
equal deleted inserted replaced
-1:000000000000 0:033898178630
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

mercurial