Check for libpq and libpqxx >= 4.0.1
[gnucomo.git] / doc / makefile
index 1f37e6e..7d73386 100644 (file)
@@ -7,46 +7,71 @@
 .obj.eps:
        tgif -print -eps -color $<
 
-XMLS = manifest.xml
+XMLS = manifest.xml design.xml manual.xml
 
 IMAGES= dataflow.png architecture.png erd-action.png erd-anu.png erd-log.png \
         erd-lognotif.png erd-notif.png erd-object.png erd-objissue.png \
         erd-objprior.png erd-objservice.png erd-objsysusr.png erd-objusr.png \
         erd-prior.png erd-service.png erd-status.png erd-toi.png \
-        erd-unplog.png erd-usr.png erd.png
+        erd-unplog.png erd-usr.png erd.png \
+        class-database_entity.png classes-gcm_input.png gcm_input-dataflow.png \
+        classes-message_filter.png
 
 PICTURES= dataflow.eps architecture.eps erd-action.eps erd-anu.eps erd-log.eps \
           erd-lognotif.eps erd-notif.eps erd-object.eps erd-objissue.eps \
           erd-objprior.eps erd-objservice.eps erd-objsysusr.eps erd-objusr.eps \
           erd-prior.eps erd-service.eps erd-status.eps erd-toi.eps \
-          erd-unplog.eps erd-usr.eps erd.eps
+          erd-unplog.eps erd-usr.eps erd.eps \
+          class-database_entity.eps classes-gcm_input.eps gcm_input-dataflow.eps \
+        classes-message_filter.eps
 
-html: manifest.html
+html: manifest.xhtml design.xhtml manual.xhtml test.xhtml
 
-ps: manifest.ps
+ps: manifest.ps design.ps
 
-txt: manifest.txt
+txt: manifest.txt design.txt
 
 all:  ps html txt
 
-manifest.html : $(XMLS) $(IMAGES)
-       xml2html manifest.xml > manifest.html
+manual.xhtml : manual.xml $(IMAGES)
+       xml2html manual.xml > manual.xhtml
 
-manifest.ps : $(XMLS)  $(PICTURES)
+test.xhtml : test.xml
+       xml2html test.xml > test.xhtml
+
+manifest.xhtml : manifest.xml $(IMAGES)
+       xml2html manifest.xml > manifest.xhtml
+
+manifest.ps : manifest.xml  $(PICTURES)
        xml2latex manifest.xml >manifest.tex
        latex manifest.tex
        dvips -o manifest.ps manifest.dvi
 
-manifest.pdf : $(XMLS)  $(PICTURES)
+manifest.pdf : manifest.xml  $(PICTURES)
        xml2latex manifest.xml >manifest.tex
        pdflatex manifest.tex
 
-manifest.txt : $(XMLS)
+manifest.txt : manifest.xml
        xml2text manifest.xml > manifest.txt
 
+design.xhtml : design.xml $(IMAGES)
+       xml2html design.xml > design.xhtml
+
+design.ps : design.xml  $(PICTURES)
+       xml2latex design.xml >design.tex
+       latex design.tex
+       dvips -o design.ps design.dvi
+
+design.pdf : design.xml  $(PICTURES)
+       xml2latex design.xml >design.tex
+       pdflatex design.tex
+
+design.txt : design.xml
+       xml2text design.xml > design.txt
+
 check:
        xmllint --noout --valid $(XMLS)
 clean:
-       rm -f manifest.html manifest.ps manifest.tex manifest.dvi
-       rm -f manifest.log manifest.txt manifest.pdf
+       rm -f *.html *.xhtml *.ps *.tex *.dvi *.toc *.aux
+       rm -f *.log *.txt *.pdf
        rm -f $(IMAGES) $(PICTURES)