X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=doc%2FMakefile.am;h=3b8db2d8dab417b3a5443f368260407c6a2af008;hb=c0052f39a81ac7f52a84cc006cda4cd143635de4;hp=5eea1de77aea219ae422f38176e3b69969838116;hpb=53b63f14eaf30aff1d043792288f919b74806d35;p=metaproxy-moved-to-github.git diff --git a/doc/Makefile.am b/doc/Makefile.am index 5eea1de..3b8db2d 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,13 +1,14 @@ -## $Id: Makefile.am,v 1.8 2006-04-20 12:20:56 adam Exp $ +## $Id: Makefile.am,v 1.16 2006-05-26 20:20:51 adam Exp $ docdir=$(datadir)/doc/@PACKAGE@ SUBDIRS = common SUFFIXES=.3mp .1 -XMLFILES = main.xml.in book.xml manref.xml progref.xml copyright.xml +XMLFILES = main.xml.in book.xml manref.xml progref.xml copyright.xml \ + metaproxy.xml + MAINXML = main.xml -HTMLFILES = metaproxy.html XMLMAN = auth_simple.xml backend_test.xml frontend_net.xml \ http_file.xml log.xml multi.xml query_rewrite.xml \ @@ -17,28 +18,49 @@ MANFILES = auth_simple.3mp backend_test.3mp frontend_net.3mp \ session_shared.3mp template.3mp virt_db.3mp z3950_client.3mp \ metaproxy.1 -PNGFILES= -EPSFILES= - -REFFILES= +HTMLFILES = architecture.html \ + classes.html \ + configuration.html \ + example.configuration.html \ + extensions.html \ + filterref.html \ + filters.html \ + future.directions.html \ + index.html + individual.classes.html \ + installation.html \ + installation.debian.html \ + installation.windows.html \ + introduction.html \ + licence.html \ + multidb.html \ + multidb.multi.html \ + multidb.picture.html \ + multidb.virt_db.html \ + multidb.what.html \ + other.source.files.html \ + overview.filter.types.html \ + overview.xml.structure.html \ + refguide.html + +PNGFILES=multi.png doc_DATA = $(HTMLFILES) metaproxy.pdf $(PNGFILES) man_MANS = $(MANFILES) -EXTRA_DIST = $(XMLFILES) $(REFFILES) \ - $(doc_DATA) $(EPSFILES) $(man_MANS) $(REFFILES) +EXTRA_DIST = $(XMLFILES) $(XMLMAN) $(doc_DATA) $(man_MANS) multi.svg -$(HTMLFILES): $(XMLFILES) - jade -E14 -D $(srcdir) -d common/html.dsl -t sgml $(srcdir)/common/xml.dcl $(MAINXML) +$(HTMLFILES): $(XMLFILES) multi.png + xsltproc common/html.xsl $(MAINXML) .xml.3mp: - docbook2man $< + xsltproc common/man.xsl $< .xml.1: - docbook2man $< + xsltproc common/man.xsl $< -metaproxy.pdf: $(XMLFILES) - for i in $(PNGFILES) $(EPSFILES); do \ +metaproxy.pdf: $(XMLFILES) multi.pdf + for i in $(PNGFILES) multi.pdf; do \ if test ! -f $$i; then ln -s $(srcdir)/$$i .; fi; \ done jade -E14 -D $(srcdir) -d common/print.dsl -t tex $(srcdir)/common/xml.dcl $(MAINXML) @@ -61,6 +83,15 @@ progref.xml: metaproxy.xml rm -f $@ xsltproc $(srcdir)/common/ref2dbinc.xsl $? | sed 1d >> $@ +multi.png: multi.svg + inkscape --export-png=$@ --export-width=800 --export-area-drawing $? + +multi.eps: multi.svg + inkscape --export-eps=$@ --export-bbox-page $? + +%.pdf: %.eps + epstopdf -hires $? + clean-data-hook: rm -f [0-9]* *.bak