2 .SUFFIXES: .obj .eps .png
8 tgif -print -eps -color $<
10 XMLS = manifest.xml design.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.html design.html
30 ps: manifest.ps design.ps
32 txt: manifest.txt design.txt
36 manifest.html : manifest.xml $(IMAGES)
37 xml2html manifest.xml > manifest.html
39 manifest.ps : manifest.xml $(PICTURES)
40 xml2latex manifest.xml >manifest.tex
42 dvips -o manifest.ps manifest.dvi
44 manifest.pdf : manifest.xml $(PICTURES)
45 xml2latex manifest.xml >manifest.tex
48 manifest.txt : manifest.xml
49 xml2text manifest.xml > manifest.txt
51 design.html : design.xml $(IMAGES)
52 xml2html design.xml > design.html
54 design.ps : design.xml $(PICTURES)
55 xml2latex design.xml >design.tex
57 dvips -o design.ps design.dvi
59 design.pdf : design.xml $(PICTURES)
60 xml2latex design.xml >design.tex
63 design.txt : design.xml
64 xml2text design.xml > design.txt
67 xmllint --noout --valid $(XMLS)
69 rm -f *.html *.ps *.tex *.dvi *.toc *.aux
70 rm -f *.log *.txt *.pdf
71 rm -f $(IMAGES) $(PICTURES)