X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=doc%2FMakefile.am;h=a6a18f321c9bae74c1a4469aef27389913feb075;hb=add49ece6b24024d8d9873b924aea9fe5cb5ea79;hp=01818eb6348b69873d5be36f723a4c9ec7b87f8d;hpb=824a9c0f448740aa9ae044258cd8937bd492611b;p=metaproxy-moved-to-github.git diff --git a/doc/Makefile.am b/doc/Makefile.am index 01818eb..a6a18f3 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,16 +1,15 @@ -## $Id: Makefile.am,v 1.13 2006-04-27 13:29:40 mike Exp $ +## $Id: Makefile.am,v 1.24 2006-06-10 14:32:19 adam Exp $ docdir=$(datadir)/doc/@PACKAGE@ SUBDIRS = common SUFFIXES=.3mp .1 -XMLFILES = main.xml.in book.xml manref.xml progref.xml copyright.xml \ - metaproxy.xml +XMLFILES = book.xml manref.xml progref.xml copyright.xml metaproxy.xml -MAINXML = main.xml +MAINXML = $(srcdir)/book.xml -XMLMAN = auth_simple.xml backend_test.xml frontend_net.xml \ +XMLMAN = auth_simple.xml backend_test.xml frontend_net.xml \ http_file.xml log.xml multi.xml query_rewrite.xml \ session_shared.xml template.xml virt_db.xml z3950_client.xml MANFILES = auth_simple.3mp backend_test.3mp frontend_net.3mp \ @@ -26,56 +25,57 @@ HTMLFILES = architecture.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 \ - metaproxy.html \ + license.html \ multidb.html \ - multidb.virt_db.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 -EPSFILES=multi.eps +PNGFILES = multi.png -doc_DATA = $(HTMLFILES) metaproxy.pdf $(PNGFILES) +doc_DATA = $(HTMLFILES) $(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) multi.png - jade -E14 -D $(srcdir) -d common/html.dsl -t sgml $(srcdir)/common/xml.dcl $(MAINXML) + $(HTML_COMPILE) $(MAINXML) .xml.3mp: - docbook2man $< + $(MAN_COMPILE) $< .xml.1: - docbook2man $< + $(MAN_COMPILE) $< + +index.tkl: $(XMLFILES) + $(TKL_COMPILE) $(MAINXML) metaproxy.pdf: $(XMLFILES) multi.pdf - for i in $(PNGFILES) $(EPSFILES); do \ - if test ! -f $$i; then ln -s $(srcdir)/$$i .; fi; \ + for i in $(PNGFILES) common/id.png multi.pdf; do \ + if test ! -f $$i; then cp $(srcdir)/$$i $$i; fi; \ done jade -E14 -D $(srcdir) -d common/print.dsl -t tex $(srcdir)/common/xml.dcl $(MAINXML) rm -f metaproxy.tex - mv main.tex metaproxy.tex + mv book.tex metaproxy.tex pdfjadetex metaproxy.tex >/dev/null pdfjadetex metaproxy.tex >/dev/null pdfjadetex metaproxy.tex >/dev/null -index.tkl: $(XMLFILES) common/tkl.xsl - xsltproc common/tkl.xsl $(MAINXML) - manref.xml: $(XMLMAN) $(srcdir)/common/ref2dbinc.xsl rm -f manref.xml for i in $(XMLMAN); do \ - xsltproc $(srcdir)/common/ref2dbinc.xsl $$i | sed 1d >> manref.xml; \ + xsltproc $(srcdir)/common/ref2dbinc.xsl $(srcdir)/$$i | sed 1d >> manref.xml; \ done progref.xml: metaproxy.xml @@ -86,16 +86,16 @@ multi.png: multi.svg inkscape --export-png=$@ --export-width=800 --export-area-drawing $? multi.eps: multi.svg - inkscape --export-eps=$@ $? + inkscape --export-eps=$@ --export-bbox-page $? %.pdf: %.eps - epstodf $? + epstopdf -hires $? clean-data-hook: rm -f [0-9]* *.bak dist-hook: - for f in $(srcdir)/*.html; do \ + for f in *.html; do \ found=0; \ b=`basename $$f`; \ for h in $(HTMLFILES); do \