X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=doc%2FMakefile.am;h=05fbf57153d18395cc6d1f0c34caf5c8b888aedd;hb=ec449cdf81e9e924ea3682a6806e8412a76c99d8;hp=a6a18f321c9bae74c1a4469aef27389913feb075;hpb=987cd2471dd8a5686b48285dd8d650c4aec53ab1;p=metaproxy-moved-to-github.git diff --git a/doc/Makefile.am b/doc/Makefile.am index a6a18f3..05fbf57 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,46 +1,27 @@ -## $Id: Makefile.am,v 1.24 2006-06-10 14:32:19 adam Exp $ +## $Id: Makefile.am,v 1.28 2006-09-08 14:12:28 marc Exp $ docdir=$(datadir)/doc/@PACKAGE@ SUBDIRS = common SUFFIXES=.3mp .1 -XMLFILES = book.xml manref.xml progref.xml copyright.xml metaproxy.xml +XMLFILES = book.xml manref.xml copyright.xml MAINXML = $(srcdir)/book.xml -XMLMAN = auth_simple.xml backend_test.xml frontend_net.xml \ +XMLMAN = metaproxy.xml \ + auth_simple.xml backend_test.xml bounce.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 \ + +MANFILES = auth_simple.3mp backend_test.3mp bounce.3mp \ + frontend_net.3mp \ http_file.3mp log.3mp multi.3mp query_rewrite.3mp \ session_shared.3mp template.3mp virt_db.3mp z3950_client.3mp \ metaproxy.1 -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 \ - license.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 +HTMLFILES = index.html PNGFILES = multi.png @@ -50,6 +31,7 @@ man_MANS = $(MANFILES) EXTRA_DIST = $(XMLFILES) $(XMLMAN) $(doc_DATA) $(man_MANS) multi.svg $(HTMLFILES): $(XMLFILES) multi.png + rm -f *.html $(HTML_COMPILE) $(MAINXML) .xml.3mp: @@ -72,16 +54,12 @@ metaproxy.pdf: $(XMLFILES) multi.pdf pdfjadetex metaproxy.tex >/dev/null pdfjadetex metaproxy.tex >/dev/null -manref.xml: $(XMLMAN) $(srcdir)/common/ref2dbinc.xsl +manref.xml: $(XMLMAN) $(srcdir)/common/stripref.xsl rm -f manref.xml for i in $(XMLMAN); do \ - xsltproc $(srcdir)/common/ref2dbinc.xsl $(srcdir)/$$i | sed 1d >> manref.xml; \ + xsltproc $(srcdir)/common/stripref.xsl $(srcdir)/$$i | sed 1d >> manref.xml; \ done -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 $? @@ -95,16 +73,13 @@ clean-data-hook: rm -f [0-9]* *.bak dist-hook: - for f in *.html; do \ - found=0; \ - b=`basename $$f`; \ - for h in $(HTMLFILES); do \ - if test "$$h" = "$$b"; then \ - found=1; \ - fi \ - done; \ - if test "$$found" = "0"; then \ - echo "$$f not found in HTMLFILES"; \ - exit 1; \ - fi \ + if test -f index.html; then d=.; else d="$(srcdir)"; fi; \ + for p in $$d/*.html; do \ + cp $$p $(distdir); \ + done + +install-data-hook: + if test -f index.html; then d=.; else d="$(srcdir)"; fi; \ + for p in $$d/*.html; do \ + $(docDATA_INSTALL) $$p $(DESTDIR)/$(docdir); \ done