Different kinds of log files are parsed by a collection of objects
[gnucomo.git] / doc / makefile
1
2 .SUFFIXES: .obj .eps .png
3
4 .obj.png:
5         tgif -print -png $<
6
7 .obj.eps:
8         tgif -print -eps -color $<
9
10 XMLS = manifest.xml design.xml
11
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
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
25
26 html: manifest.html design.html
27
28 ps: manifest.ps design.ps
29
30 txt: manifest.txt design.txt
31
32 all:  ps html txt
33
34 manifest.html : manifest.xml $(IMAGES)
35         xml2html manifest.xml > manifest.html
36
37 manifest.ps : manifest.xml  $(PICTURES)
38         xml2latex manifest.xml >manifest.tex
39         latex manifest.tex
40         dvips -o manifest.ps manifest.dvi
41
42 manifest.pdf : manifest.xml  $(PICTURES)
43         xml2latex manifest.xml >manifest.tex
44         pdflatex manifest.tex
45
46 manifest.txt : manifest.xml
47         xml2text manifest.xml > manifest.txt
48
49 design.html : design.xml $(IMAGES)
50         xml2html design.xml > design.html
51
52 design.ps : design.xml  $(PICTURES)
53         xml2latex design.xml >design.tex
54         latex design.tex
55         dvips -o design.ps design.dvi
56
57 design.pdf : design.xml  $(PICTURES)
58         xml2latex design.xml >design.tex
59         pdflatex design.tex
60
61 design.txt : design.xml
62         xml2text design.xml > design.txt
63
64 check:
65         xmllint --noout --valid $(XMLS)
66 clean:
67         rm -f *.html *.ps *.tex *.dvi *.toc *.aux
68         rm -f *.log *.txt *.pdf
69         rm -f $(IMAGES) $(PICTURES)