+HTMLFILES = \
+ administration-cql-to-pqf.html \
+ administration-extended-services.html \
+ administration-ranking.html \
+ administration.html \
+ apps.html \
+ architecture-maincomponents.html \
+ architecture-workflow.html \
+ architecture.html \
+ configuration-file.html \
+ example1.html \
+ example2.html \
+ examples.html \
+ features.html \
+ file-ids.html \
+ future.html \
+ generic-ids.html \
+ gfs-config.html \
+ grs-exchange-formats.html \
+ grs-internal-representation.html \
+ indexdata.html \
+ installation.debian.html \
+ installation.html \
+ installation.win32.html \
+ introduction.html \
+ license.html \
+ locating-records.html \
+ protocol-support.html \
+ quick-start.html \
+ record-model-alvisxslt-conf.html \
+ record-model-alvisxslt.html \
+ record-model-grs-conf.html \
+ record-model-grs.html \
+ register-location.html \
+ server-sru-support.html \
+ server-sru.html \
+ server.html \
+ shadow-registers.html \
+ simple-indexing.html \
+ support.html \
+ zebra.html \
+ zebraidx.html
+
+PNGFILES=zebra.png
+EPSFILES=zebra.eps
+
+MANFILES=zebraidx.1 zebrasrv.8 idzebra-config.1
+
+REFFILES=zebraidx-man.sgml zebrasrv-man.sgml idzebra-config-man.sgml
+
+doc_DATA = $(HTMLFILES) zebra.pdf $(PNGFILES)
+man_MANS = $(MANFILES)
+
+EXTRA_DIST = $(XMLFILES) $(REFFILES) \
+ $(doc_DATA) $(EPSFILES) $(man_MANS) $(REFFILES) \
+ zvrank.txt marc_indexing.xml
+
+zebraidx.1: zebraidx-man.sgml zebraidx-options.xml zebraidx-commands.xml
+ if test ! -f zebraidx-options.xml ; then ln -s $(srcdir)/zebraidx-options.xml .; fi
+ if test ! -f zebraidx-commands.xml ; then ln -s $(srcdir)/zebraidx-commands.xml .; fi
+ docbook2man $(srcdir)/zebraidx-man.sgml
+
+# zebrasrv-commands.xml
+zebrasrv.8: zebrasrv-man.sgml zebrasrv-options.xml \
+ zebrasrv-synopsis.xml zebrasrv-virtual.xml
+ docbook2man $(srcdir)/zebrasrv-man.sgml
+
+idzebra-config.1: idzebra-config-man.sgml
+ docbook2man $(srcdir)/idzebra-config-man.sgml
+
+$(HTMLFILES): $(XMLFILES)
+ jade -E14 -D $(srcdir) -d common/html.dsl -t sgml $(srcdir)/common/xml.dcl zebra.xml
+
+zebra.pdf: $(XMLFILES)
+ for i in $(PNGFILES); do \
+ if test ! -f $$i; then cp $(srcdir)/$$i .; fi; \
+ done
+ jade -E14 -D $(srcdir) -d common/print.dsl -t tex $(srcdir)/common/xml.dcl zebra.xml
+ pdfjadetex zebra.tex >/dev/null
+ pdfjadetex zebra.tex >/dev/null
+ pdfjadetex zebra.tex >/dev/null
+
+index.tkl: $(XMLFILES) common/tkl.xsl
+ xsltproc common/tkl.xsl zebra.xml