1 ## ------------------------------------------------
2 ## Makefile for openal/docs/
17 DB_OBJS = $(OALSPEC).ps $(OALSPEC)/index.html
19 TEXI_OBJS = openal.info
21 .SUFFIXES: .texi .info
32 %.info : %.texi ../config.h
50 update: specs annotated full
53 ## ----------------------------------------------------------
54 ## Specification - prototypes, tokens, explanation
57 -rm -f $(OALSPEC)-specs.ps
58 cp ent-marks-specification.sgml ent-marks.sgml
59 $(DB2PS) $(OALSPEC).sgml
60 mv $(OALSPEC).ps $(OALSPEC)-specs.ps
61 zip -9 $(OALSPEC)-specs.ps.zip $(OALSPEC)-specs.ps
64 -rm -rf $(OALSPEC)-specs/
65 cp ent-marks-specification.sgml ent-marks.sgml
66 $(DB2HTML) $(OALSPEC).sgml
67 mv $(OALSPEC) $(OALSPEC)-specs
68 -rm $(OALSPEC)-specs.html.zip
69 zip -r9 $(OALSPEC)-specs.html.zip $(OALSPEC)-specs/
71 specs: specs-ps specs-html
74 ## -----------------------------------------------------------
75 ## Annotated Version - including annotation seections
76 ## (not Programmer's Guide, no examples)
78 -rm -f $(OALSPEC)-annote.ps
79 cp ent-marks-annotated.sgml ent-marks.sgml
80 $(DB2PS) $(OALSPEC).sgml
81 mv $(OALSPEC).ps $(OALSPEC)-annote.ps
82 zip -9 $(OALSPEC)-annote.ps.zip $(OALSPEC)-annote.ps
85 -rm -rf $(OALSPEC)-annote/
86 cp ent-marks-annotated.sgml ent-marks.sgml
87 $(DB2HTML) $(OALSPEC).sgml
88 mv $(OALSPEC) $(OALSPEC)-annote
89 -rm $(OALSPEC)-annote.html.zip
90 zip -r9 $(OALSPEC)-annote.html.zip $(OALSPEC)-annote/
92 annotated: annotated-ps annotated-html
94 ## ----------------------------------------------------------
95 ## FULL Version - include's the RFC's and everything else
98 -rm -f $(OALSPEC)-full.ps
99 cp ent-marks-full.sgml ent-marks.sgml
100 $(DB2PS) $(OALSPEC).sgml
101 mv $(OALSPEC).ps $(OALSPEC)-full.ps
102 zip -9 $(OALSPEC)-full.ps.zip $(OALSPEC)-full.ps
105 -rm -rf $(OALSPEC)-full/
106 cp ent-marks-full.sgml ent-marks.sgml
107 $(DB2HTML) $(OALSPEC).sgml
108 mv $(OALSPEC) $(OALSPEC)-full
109 -rm $(OALSPEC)-full.html.zip
110 zip -r9 $(OALSPEC)-full.html.zip $(OALSPEC)-full/
112 full: full-ps full-html
115 ## ----------------------------------------------------------
116 ## ZIP - create archive
121 clean: db_clean texi_clean
124 -rm -f $(OALSPEC).dvi
125 -rm -f $(OALSPEC).aux
126 -rm -f $(OALSPEC).log
127 -rm -f $(OALSPEC).tex
128 -rm -rf $(OALSPEC).junk
143 $(OALSPEC)-annote.ps \
145 $(OALSPEC)-specs.ps \