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
19 PICTURES= dataflow.eps architecture.eps erd-action.eps erd-anu.eps erd-log.eps \
20 erd-lognotif.eps erd-notif.eps erd-object.eps erd-objissue.eps \
21 erd-objprior.eps erd-objservice.eps erd-objsysusr.eps erd-objusr.eps \
22 erd-prior.eps erd-service.eps erd-status.eps erd-toi.eps \
23 erd-unplog.eps erd-usr.eps erd.eps \
24 class-database_entity.eps classes-gcm_input.eps gcm_input-dataflow.eps
26 html: manifest.html design.html
28 ps: manifest.ps design.ps
30 txt: manifest.txt design.txt
34 manifest.html : manifest.xml $(IMAGES)
35 xml2html manifest.xml > manifest.html
37 manifest.ps : manifest.xml $(PICTURES)
38 xml2latex manifest.xml >manifest.tex
40 dvips -o manifest.ps manifest.dvi
42 manifest.pdf : manifest.xml $(PICTURES)
43 xml2latex manifest.xml >manifest.tex
46 manifest.txt : manifest.xml
47 xml2text manifest.xml > manifest.txt
49 design.html : design.xml $(IMAGES)
50 xml2html design.xml > design.html
52 design.ps : design.xml $(PICTURES)
53 xml2latex design.xml >design.tex
55 dvips -o design.ps design.dvi
57 design.pdf : design.xml $(PICTURES)
58 xml2latex design.xml >design.tex
61 design.txt : design.xml
62 xml2text design.xml > design.txt
65 xmllint --noout --valid $(XMLS)
67 rm -f *.html *.ps *.tex *.dvi *.toc *.aux
68 rm -f *.log *.txt *.pdf
69 rm -f $(IMAGES) $(PICTURES)