Wed, 23 Oct 2019 14:20:50 +0200
Added the product divide scripts. All parts have all the volumes and weights divided, including the master record. Splitted batches have their own records with the product code formatted as code-n. From this design, we can rebuild the print and checklist.
0 | 1 | # Makefile for the bms documentation. |
2 | # Copyright (c) 2018 by M. Broek. | |
3 | ||
4 | include ../Makefile.global | |
5 | ||
362 | 6 | SRC = bms.sgml bms-ch1.sgml bms-ch2.sgml bms-ch3.sgml bms-ch4.sgml \ |
7 | bms-ch5.sgml bms-ch6.sgml bms-ch7.sgml bms-ch8.sgml | |
0 | 8 | HTML = bms.html |
9 | PDF = bms.pdf | |
10 | OTHER = Makefile docbook-utils.dsl | |
11 | ||
12 | ############################################################################# | |
13 | ||
14 | .c.o: | |
15 | ${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $< | |
16 | ||
17 | all: pdf | |
18 | ||
19 | bms.pdf: ${SRC} docbook-utils.dsl | |
20 | docbook2pdf -d docbook-utils.dsl#print bms.sgml | |
21 | ||
22 | bms.html: ${SRC} docbook-utils.dsl | |
23 | docbook2html -d docbook-utils.dsl#html -u bms.sgml | |
24 | ||
25 | pdf: ${PDF} | |
26 | ||
27 | html: ${HTML} | |
28 | ||
29 | clean: | |
30 | rm -f *.pdf *.html | |
31 | ||
32 | install: all | |
33 | ||
34 | filelist: Makefile | |
35 | BASE=`pwd`; \ | |
36 | BASE=`basename $${BASE}`; \ | |
37 | (for f in ${SRC} ${OTHER} ;do echo ${PACKAGE}-${VERSION}/$${BASE}/$$f; done) >filelist | |
38 | ||
39 | depend: | |
40 |