1 ## $Id: Makefile.am,v 1.44 2006-04-26 11:08:41 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 \
28 administration-cql-to-pqf.html \
29 administration-extended-services.html \
30 administration-ranking.html \
33 architecture-maincomponents.html \
34 architecture-workflow.html \
36 configuration-file.html \
45 grs-exchange-formats.html \
46 grs-internal-representation.html \
48 installation.debian.html \
50 installation.win32.html \
53 locating-records.html \
54 protocol-support.html \
56 record-model-alvisxslt-conf.html \
57 record-model-alvisxslt.html \
58 record-model-grs-conf.html \
59 record-model-grs.html \
60 register-location.html \
61 server-sru-support.html \
64 shadow-registers.html \
65 simple-indexing.html \
73 MANFILES=zebraidx.1 zebrasrv.8 idzebra-config.1
75 REFFILES=zebraidx-man.sgml zebrasrv-man.sgml idzebra-config-man.sgml
77 doc_DATA = $(HTMLFILES) zebra.pdf $(PNGFILES)
78 man_MANS = $(MANFILES)
80 EXTRA_DIST = $(XMLFILES) $(REFFILES) \
81 $(doc_DATA) $(EPSFILES) $(man_MANS) $(REFFILES) \
82 zvrank.txt marc_indexing.xml
84 zebraidx.1: zebraidx-man.sgml zebraidx-options.xml zebraidx-commands.xml
85 if test ! -f zebraidx-options.xml ; then ln -s $(srcdir)/zebraidx-options.xml .; fi
86 if test ! -f zebraidx-commands.xml ; then ln -s $(srcdir)/zebraidx-commands.xml .; fi
87 docbook2man $(srcdir)/zebraidx-man.sgml
89 # zebrasrv-commands.xml
90 zebrasrv.8: zebrasrv-man.sgml zebrasrv-options.xml \
91 zebrasrv-synopsis.xml zebrasrv-virtual.xml
92 docbook2man $(srcdir)/zebrasrv-man.sgml
94 idzebra-config.1: idzebra-config-man.sgml
95 docbook2man $(srcdir)/idzebra-config-man.sgml
97 $(HTMLFILES): $(XMLFILES)
98 jade -E14 -D $(srcdir) -d common/html.dsl -t sgml $(srcdir)/common/xml.dcl zebra.xml
100 zebra.pdf: $(XMLFILES)
101 for i in $(PNGFILES); do \
102 if test ! -f $$i; then cp $(srcdir)/$$i .; fi; \
104 jade -E14 -D $(srcdir) -d common/print.dsl -t tex $(srcdir)/common/xml.dcl zebra.xml
105 pdfjadetex zebra.tex >/dev/null
106 pdfjadetex zebra.tex >/dev/null
107 pdfjadetex zebra.tex >/dev/null
109 index.tkl: $(XMLFILES) common/tkl.xsl
110 xsltproc common/tkl.xsl zebra.xml
113 sgml2txt -f gils.sgml
116 sgml2latex -o ps -p a4 gils.sgml
125 for f in $(srcdir)/*.html; do \
128 for h in $(HTMLFILES); do \
129 if test "$$h" = "$$b"; then \
133 if test "$$found" = "0"; then \
134 echo "$$f not found in HTMLFILES"; \