2 .SUFFIXES: .obj .eps .png
8 tgif -print -eps -color $<
10 XMLS = manifest.xml design.xml manual.xml
12 IMAGES= dataflow.png architecture.png erd-action.png erd-anu.png erd-log.png \
13 erd-lognotif.png erd-notif.png erd-object.png erd-objissue.png \
14 erd-objprior.png erd-objservice.png erd-objsysusr.png erd-objusr.png \
15 erd-prior.png erd-service.png erd-status.png erd-toi.png \
16 erd-unplog.png erd-usr.png erd.png \
17 class-database_entity.png classes-gcm_input.png gcm_input-dataflow.png \
18 classes-message_filter.png
20 PICTURES= dataflow.eps architecture.eps erd-action.eps erd-anu.eps erd-log.eps \
21 erd-lognotif.eps erd-notif.eps erd-object.eps erd-objissue.eps \
22 erd-objprior.eps erd-objservice.eps erd-objsysusr.eps erd-objusr.eps \
23 erd-prior.eps erd-service.eps erd-status.eps erd-toi.eps \
24 erd-unplog.eps erd-usr.eps erd.eps \
25 class-database_entity.eps classes-gcm_input.eps gcm_input-dataflow.eps \
26 classes-message_filter.eps
28 html: manifest.xhtml design.xhtml manual.xhtml test.xhtml
30 ps: manifest.ps design.ps
32 txt: manifest.txt design.txt
36 manual.xhtml : manual.xml $(IMAGES)
37 xml2html manual.xml > manual.xhtml
40 xml2html test.xml > test.xhtml
42 manifest.xhtml : manifest.xml $(IMAGES)
43 xml2html manifest.xml > manifest.xhtml
45 manifest.ps : manifest.xml $(PICTURES)
46 xml2latex manifest.xml >manifest.tex
48 dvips -o manifest.ps manifest.dvi
50 manifest.pdf : manifest.xml $(PICTURES)
51 xml2latex manifest.xml >manifest.tex
54 manifest.txt : manifest.xml
55 xml2text manifest.xml > manifest.txt
57 design.xhtml : design.xml $(IMAGES)
58 xml2html design.xml > design.xhtml
60 design.ps : design.xml $(PICTURES)
61 xml2latex design.xml >design.tex
63 dvips -o design.ps design.dvi
65 design.pdf : design.xml $(PICTURES)
66 xml2latex design.xml >design.tex
69 design.txt : design.xml
70 xml2text design.xml > design.txt
73 xmllint --noout --valid $(XMLS)
75 rm -f *.html *.xhtml *.ps *.tex *.dvi *.toc *.aux
76 rm -f *.log *.txt *.pdf
77 rm -f $(IMAGES) $(PICTURES)