.SUFFIXES: .obj .eps .png .obj.png: tgif -print -png $< .obj.eps: tgif -print -eps -color $< 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 \ 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 \ class-database_entity.eps classes-gcm_input.eps gcm_input-dataflow.eps \ classes-message_filter.eps html: manifest.xhtml design.xhtml manual.xhtml test.xhtml ps: manifest.ps design.ps txt: manifest.txt design.txt all: ps html txt manual.xhtml : manual.xml $(IMAGES) xml2html manual.xml > manual.xhtml 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 : manifest.xml $(PICTURES) xml2latex manifest.xml >manifest.tex pdflatex manifest.tex 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 *.html *.xhtml *.ps *.tex *.dvi *.toc *.aux rm -f *.log *.txt *.pdf rm -f $(IMAGES) $(PICTURES)