1 ## $Id: Makefile.am,v 1.45 2006-05-24 19:12:46 adam Exp $
2 docdir=$(datadir)/doc/@PACKAGE@
6 XMLFILES = zebra.xml.in \
16 recordmodel-alvisxslt.xml \
19 zebraidx-commands.xml \
20 zebraidx-options.xml \
22 zebrasrv-options.xml \
23 zebrasrv-synopsis.xml \
27 administration-cql-to-pqf.html \
28 administration-extended-services.html \
29 administration-ranking.html \
32 architecture-maincomponents.html \
33 architecture-workflow.html \
35 configuration-file.html \
44 grs-exchange-formats.html \
45 grs-internal-representation.html \
47 installation.debian.html \
49 installation.win32.html \
52 locating-records.html \
53 protocol-support.html \
55 record-model-alvisxslt-conf.html \
56 record-model-alvisxslt.html \
57 record-model-grs-conf.html \
58 record-model-grs.html \
59 register-location.html \
60 server-sru-support.html \
63 shadow-registers.html \
64 simple-indexing.html \
72 MANFILES=zebraidx.1 zebrasrv.8 idzebra-config.1
74 REFFILES=zebraidx-man.xml zebrasrv-man.xml idzebra-config-man.xml
76 doc_DATA = $(HTMLFILES) $(PNGFILES)
77 man_MANS = $(MANFILES)
79 EXTRA_DIST = $(XMLFILES) $(REFFILES) \
80 $(doc_DATA) $(EPSFILES) $(man_MANS) $(REFFILES) \
81 zvrank.txt marc_indexing.xml entities.ent
83 zebraidx.1: zebraidx-man.xml zebraidx-options.xml zebraidx-commands.xml
84 xsltproc common/man.xsl $(srcdir)/zebraidx-man.xml
86 zebrasrv.8: zebrasrv-man.xml zebrasrv-options.xml \
87 zebrasrv-synopsis.xml zebrasrv-virtual.xml
88 xsltproc common/man.xsl $(srcdir)/zebrasrv-man.xml
90 idzebra-config.1: idzebra-config-man.xml
91 xsltproc common/man.xsl $(srcdir)/idzebra-config-man.xml
93 $(HTMLFILES): $(XMLFILES)
94 xsltproc common/html.xsl zebra.xml
96 zebra.pdf: $(XMLFILES)
97 for i in $(PNGFILES); do \
98 if test ! -f $$i; then cp $(srcdir)/$$i .; fi; \
100 jade -E14 -D $(srcdir) -d common/print.dsl -t tex $(srcdir)/common/xml.dcl zebra.xml
101 pdfjadetex zebra.tex >/dev/null
102 pdfjadetex zebra.tex >/dev/null
103 pdfjadetex zebra.tex >/dev/null
105 index.tkl: $(XMLFILES) common/tkl.xsl
106 xsltproc common/tkl.xsl zebra.xml
109 sgml2txt -f gils.sgml
112 sgml2latex -o ps -p a4 gils.sgml
121 for f in *.html; do \
124 for h in $(HTMLFILES); do \
125 if test "$$h" = "$$b"; then \
129 if test "$$found" = "0"; then \
130 echo "$$f not found in HTMLFILES"; \