Intergrated test scripts with automake
[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 manual.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         classes-message_filter.png
19
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
27
28 html: manifest.xhtml design.xhtml manual.xhtml test.xhtml
29
30 ps: manifest.ps design.ps
31
32 txt: manifest.txt design.txt
33
34 all:  ps html txt
35
36 manual.xhtml : manual.xml $(IMAGES)
37         xml2html manual.xml > manual.xhtml
38
39 test.xhtml : test.xml
40         xml2html test.xml > test.xhtml
41
42 manifest.xhtml : manifest.xml $(IMAGES)
43         xml2html manifest.xml > manifest.xhtml
44
45 manifest.ps : manifest.xml  $(PICTURES)
46         xml2latex manifest.xml >manifest.tex
47         latex manifest.tex
48         dvips -o manifest.ps manifest.dvi
49
50 manifest.pdf : manifest.xml  $(PICTURES)
51         xml2latex manifest.xml >manifest.tex
52         pdflatex manifest.tex
53
54 manifest.txt : manifest.xml
55         xml2text manifest.xml > manifest.txt
56
57 design.xhtml : design.xml $(IMAGES)
58         xml2html design.xml > design.xhtml
59
60 design.ps : design.xml  $(PICTURES)
61         xml2latex design.xml >design.tex
62         latex design.tex
63         dvips -o design.ps design.dvi
64
65 design.pdf : design.xml  $(PICTURES)
66         xml2latex design.xml >design.tex
67         pdflatex design.tex
68
69 design.txt : design.xml
70         xml2text design.xml > design.txt
71
72 check:
73         xmllint --noout --valid $(XMLS)
74 clean:
75         rm -f *.html *.xhtml *.ps *.tex *.dvi *.toc *.aux
76         rm -f *.log *.txt *.pdf
77         rm -f $(IMAGES) $(PICTURES)