-## $Id: Makefile.am,v 1.7 2006-04-20 09:28:24 mike Exp $
-docdir=$(datadir)/doc/@PACKAGE@
-
-SUFFIXES=.3mp .1
-
-SUPPORTFILES = html.dsl print.dsl tkl.xsl xml.dcl ref2dbinc.xsl
-
-XMLFILES = main.xml.in book.xml manref.xml progref.xml copyright.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 \
- session_shared.xml template.xml virt_db.xml z3950_client.xml
-MANFILES = auth_simple.3mp backend_test.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
-
-PNGFILES=
-EPSFILES=
-
-REFFILES=
-
-doc_DATA = $(HTMLFILES) metaproxy.pdf $(PNGFILES)
+SUBDIRS = common
+
+SUFFIXES=.3mp .1 .pdf .tkl .esp .xml
+
+XMLFILES = book.xml manref.xml copyright.xml
+
+MAINXML = $(srcdir)/book.xml
+
+XMLMAN = metaproxy.xml \
+ auth_simple.xml \
+ backend_test.xml \
+ bounce.xml \
+ cql_rpn.xml \
+ frontend_net.xml \
+ http_file.xml \
+ load_balance.xml \
+ log.xml \
+ multi.xml \
+ query_rewrite.xml \
+ record_transform.xml\
+ session_shared.xml \
+ sru_z3950.xml\
+ template.xml \
+ virt_db.xml \
+ z3950_client.xml \
+ zeerex_explain.xml
+
+MANFILES = metaproxy.1 \
+ auth_simple.3mp \
+ backend_test.3mp \
+ bounce.3mp \
+ cql_rpn.3mp \
+ frontend_net.3mp \
+ http_file.3mp \
+ load_balance.3mp \
+ log.3mp \
+ multi.3mp query_rewrite.3mp \
+ record_transform.3mp\
+ session_shared.3mp \
+ sru_z3950.xml\
+ template.3mp \
+ virt_db.3mp \
+ z3950_client.3mp \
+ zeerex_explain.3mp
+
+
+HTMLFILES = index.html
+
+# testing if this does the job of collecting up the unnamed '*.html' files
+#UNLISTEDHTML = $(wildcard *.html)
+
+PNGFILES = multi.png
+
+doc_DATA = $(HTMLFILES) $(PNGFILES)