More info on Windows compilation
[metaproxy-moved-to-github.git] / doc / Makefile.am
index f1fb995..94b56a9 100644 (file)
@@ -1,4 +1,4 @@
-## $Id: Makefile.am,v 1.10 2006-04-24 06:40:50 adam Exp $
+## $Id: Makefile.am,v 1.15 2006-04-27 16:54:39 adam Exp $
 docdir=$(datadir)/doc/@PACKAGE@
 
 SUBDIRS = common
@@ -34,20 +34,23 @@ HTMLFILES = architecture.html \
        licence.html \
        metaproxy.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=
-EPSFILES=
+PNGFILES=multi.png
 
 doc_DATA = $(HTMLFILES) metaproxy.pdf $(PNGFILES)
 man_MANS = $(MANFILES)
 
-EXTRA_DIST = $(XMLFILES) $(XMLMAN) $(doc_DATA) $(EPSFILES) $(man_MANS)
+EXTRA_DIST = $(XMLFILES) $(XMLMAN) $(doc_DATA) $(man_MANS) multi.svg
 
-$(HTMLFILES): $(XMLFILES)
+$(HTMLFILES): $(XMLFILES) multi.png
        jade -E14 -D $(srcdir) -d common/html.dsl -t sgml $(srcdir)/common/xml.dcl $(MAINXML)
 
 .xml.3mp:
@@ -56,8 +59,8 @@ $(HTMLFILES): $(XMLFILES)
 .xml.1:
        docbook2man $<
 
-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)
@@ -80,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