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