Mercurial > hg > Members > kono > nitros9-code
comparison docs/nitros9guide/makefile @ 1011:cc153d1671f7
Updated for new manuals
author | boisy |
---|---|
date | Tue, 04 Mar 2003 15:11:34 +0000 |
parents | 72443b44537e |
children | 4dae346c4969 |
comparison
equal
deleted
inserted
replaced
1010:1027549ee381 | 1011:cc153d1671f7 |
---|---|
1 BOOK = os9guide | 1 BOOKL1 = os9l1guide |
2 BOOKL2 = os9l2guide | |
2 STYLESHEET = docbook-utils.dsl | 3 STYLESHEET = docbook-utils.dsl |
3 | 4 |
4 all: $(BOOK).pdf | 5 all: $(BOOKL1).pdf $(BOOKL2).pdf |
5 | 6 |
6 $(BOOK).pdf: $(BOOK).docbook $(SRCS) | 7 $(BOOKL1).pdf: $(BOOKL1).docbook $(SRCS) |
7 docbook2pdf -d docbook-utils-a4.dsl#print $(BOOK).docbook | 8 docbook2pdf -d docbook-utils-a4.dsl#print $(BOOKL1).docbook |
8 | 9 |
9 $(BOOK).ps: $(BOOK).docbook $(SRCS) | 10 $(BOOKL2).pdf: $(BOOKL2).docbook $(SRCS) |
10 docbook2ps -d docbook-utils-a4.dsl#print $(BOOK).docbook | 11 docbook2pdf -d docbook-utils-a4.dsl#print $(BOOKL2).docbook |
11 # docbook2ps -d $(STYLESHEET) $(BOOK).docbook | |
12 | 12 |
13 $(BOOK).html: $(BOOK).docbook $(SRCS) | 13 $(BOOKL1).ps: $(BOOKL1).docbook $(SRCS) |
14 docbook2ps -d docbook-utils-a4.dsl#print $(BOOKL1).docbook | |
15 # docbook2ps -d $(STYLESHEET) $(BOOKL1).docbook | |
16 | |
17 $(BOOKL2).ps: $(BOOKL2).docbook $(SRCS) | |
18 docbook2ps -d docbook-utils-a4.dsl#print $(BOOKL2).docbook | |
19 # docbook2ps -d $(STYLESHEET) $(BOOKL2).docbook | |
20 | |
21 $(BOOKL1).html: $(BOOKL1).docbook $(SRCS) | |
14 $(RM) *.htm *.html | 22 $(RM) *.htm *.html |
15 # jade -t sgml -V html-index -d /usr/share/sgml/docbook/dsssl-stylesheets-1.64/html/docbook.dsl $(BOOK).docbook | 23 # jade -t sgml -V html-index -d /usr/share/sgml/docbook/dsssl-stylesheets-1.64/html/docbook.dsl $(BOOKL1).docbook |
16 # collateindex.pl -p -o index.docbook HTML.index | 24 # collateindex.pl -p -o index.docbook HTML.index |
17 docbook2html -d docbook-utils-a4.dsl#html $(BOOK).docbook | 25 docbook2html -d docbook-utils-a4.dsl#html $(BOOKL1).docbook |
18 | 26 |
19 print: $(BOOK).ps | 27 $(BOOKL2).html: $(BOOKL2).docbook $(SRCS) |
20 psnup -2 $(BOOK).ps | lpr | 28 $(RM) *.htm *.html |
29 # jade -t sgml -V html-index -d /usr/share/sgml/docbook/dsssl-stylesheets-1.64/html/docbook.dsl $(BOOKL2).docbook | |
30 # collateindex.pl -p -o index.docbook HTML.index | |
31 docbook2html -d docbook-utils-a4.dsl#html $(BOOKL2).docbook | |
32 | |
33 print: $(BOOKL1).ps $(BOOKL2).ps | |
34 psnup -2 $(BOOKL1).ps | lpr | |
35 psnup -2 $(BOOKL2).ps | lpr | |
21 | 36 |
22 clean: | 37 clean: |
23 $(RM) *.htm *.html $(BOOK).pdf $(BOOK).ps | 38 $(RM) *.htm *.html $(BOOKL1).pdf $(BOOKL1).ps $(BOOKL2).pdf \ |
39 $(BOOKL2).ps | |
40 | |
24 SRCS = $(CHAPS) $(APXS) $(REFS) | 41 SRCS = $(CHAPS) $(APXS) $(REFS) |
25 CHAPS = intro.preface \ | 42 CHAPS = intro.preface \ |
26 chap1.chapter chap2.chapter chap3.chapter chap4.chapter \ | 43 chap1.chapter chap2.chapter chap3.chapter chap4.chapter \ |
27 chap5.chapter chap6.chapter chap7.chapter | 44 chap5.chapter chap6.chapter chap7.chapter |
28 APXS = acia51.appendix display.appendix errorcodes.appendix keys.appendix | 45 APXS = acia51.appendix display.appendix errorcodes.appendix keys.appendix |