1011
|
1 BOOKL1 = os9l1guide
|
|
2 BOOKL2 = os9l2guide
|
515
|
3 STYLESHEET = docbook-utils.dsl
|
103
|
4
|
1011
|
5 all: $(BOOKL1).pdf $(BOOKL2).pdf
|
|
6
|
|
7 $(BOOKL1).pdf: $(BOOKL1).docbook $(SRCS)
|
|
8 docbook2pdf -d docbook-utils-a4.dsl#print $(BOOKL1).docbook
|
|
9
|
|
10 $(BOOKL2).pdf: $(BOOKL2).docbook $(SRCS)
|
|
11 docbook2pdf -d docbook-utils-a4.dsl#print $(BOOKL2).docbook
|
103
|
12
|
1011
|
13 $(BOOKL1).ps: $(BOOKL1).docbook $(SRCS)
|
|
14 docbook2ps -d docbook-utils-a4.dsl#print $(BOOKL1).docbook
|
|
15 # docbook2ps -d $(STYLESHEET) $(BOOKL1).docbook
|
103
|
16
|
1011
|
17 $(BOOKL2).ps: $(BOOKL2).docbook $(SRCS)
|
|
18 docbook2ps -d docbook-utils-a4.dsl#print $(BOOKL2).docbook
|
|
19 # docbook2ps -d $(STYLESHEET) $(BOOKL2).docbook
|
103
|
20
|
1011
|
21 $(BOOKL1).html: $(BOOKL1).docbook $(SRCS)
|
515
|
22 $(RM) *.htm *.html
|
1011
|
23 # jade -t sgml -V html-index -d /usr/share/sgml/docbook/dsssl-stylesheets-1.64/html/docbook.dsl $(BOOKL1).docbook
|
103
|
24 # collateindex.pl -p -o index.docbook HTML.index
|
1011
|
25 docbook2html -d docbook-utils-a4.dsl#html $(BOOKL1).docbook
|
515
|
26
|
1011
|
27 $(BOOKL2).html: $(BOOKL2).docbook $(SRCS)
|
|
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
|
103
|
36
|
|
37 clean:
|
1011
|
38 $(RM) *.htm *.html $(BOOKL1).pdf $(BOOKL1).ps $(BOOKL2).pdf \
|
1093
|
39 $(BOOKL2).ps *.log *.out *.aux
|
1011
|
40
|
727
|
41 SRCS = $(CHAPS) $(APXS) $(REFS)
|
|
42 CHAPS = intro.preface \
|
|
43 chap1.chapter chap2.chapter chap3.chapter chap4.chapter \
|
|
44 chap5.chapter chap6.chapter chap7.chapter
|
|
45 APXS = acia51.appendix display.appendix errorcodes.appendix keys.appendix
|
|
46 REFS = asm.refentry \
|
|
47 attr.refentry \
|
|
48 backup.refentry \
|
|
49 binex.refentry \
|
|
50 build.refentry \
|
|
51 chd.refentry \
|
|
52 cmp.refentry \
|
|
53 cobbler.refentry \
|
|
54 config.refentry \
|
|
55 copy.refentry \
|
|
56 date.refentry \
|
|
57 dcheck.refentry \
|
|
58 debug.refentry \
|
|
59 deiniz.refentry \
|
|
60 deldir.refentry \
|
|
61 del.refentry \
|
|
62 dir.refentry \
|
|
63 display.refentry \
|
|
64 dsave.refentry \
|
|
65 dump.refentry \
|
|
66 echo.refentry \
|
|
67 error.refentry \
|
|
68 ex.refentry \
|
|
69 format.refentry \
|
|
70 free.refentry \
|
|
71 go51.appendix \
|
|
72 go51.refentry \
|
|
73 help.refentry \
|
|
74 ident.refentry \
|
|
75 iniz.refentry \
|
|
76 kill.refentry \
|
|
77 link.refentry \
|
|
78 list.refentry \
|
|
79 load.refentry \
|
|
80 login.refentry \
|
|
81 makdir.refentry \
|
|
82 mdir.refentry \
|
|
83 merge.refentry \
|
|
84 mfree.refentry \
|
|
85 os9gen.refentry \
|
|
86 park.refentry \
|
|
87 printerr.refentry \
|
|
88 procs.refentry \
|
|
89 pwd.refentry \
|
|
90 rename.refentry \
|
|
91 save.refentry \
|
|
92 setime.refentry \
|
|
93 setpr.refentry \
|
|
94 shell.refentry \
|
|
95 sleep.refentry \
|
|
96 tee.refentry \
|
|
97 tmode.refentry \
|
|
98 tsmon.refentry \
|
|
99 tuneport.refentry \
|
|
100 unlink.refentry \
|
|
101 verify.refentry \
|
|
102 xmode.refentry
|