1 ## $Id: Makefile.am,v 1.41 2006-02-20 07:13:31 adam Exp $
2 docdir=$(datadir)/doc/@PACKAGE@
11 XMLFILES = zebra.xml.in \
21 recordmodel-alvisxslt.xml \
24 zebraidx-commands.xml \
25 zebraidx-options.xml \
27 zebrasrv-options.xml \
28 zebrasrv-synopsis.xml \
33 administration-cql-to-pqf.html \
34 administration-extended-services.html \
35 administration-ranking.html \
38 architecture-maincomponents.html \
39 architecture-workflow.html \
41 configuration-file.html \
50 grs-exchange-formats.html \
51 grs-internal-representation.html \
53 installation.debian.html \
55 installation.win32.html \
58 locating-records.html \
59 protocol-support.html \
61 record-model-alvisxslt-conf.html \
62 record-model-alvisxslt.html \
63 record-model-grs-conf.html \
64 record-model-grs.html \
65 register-location.html \
66 server-sru-support.html \
69 shadow-registers.html \
70 simple-indexing.html \
79 MANFILES=zebraidx.1 zebrasrv.8 idzebra-config.1
81 REFFILES=zebraidx-man.sgml zebrasrv-man.sgml idzebra-config-man.sgml
83 #doc_DATA = $(HTMLFILES) zebra.pdf $(PNGFILES)
84 doc_DATA = $(HTMLFILES) $(PNGFILES)
85 man_MANS = $(MANFILES)
87 EXTRA_DIST = $(XMLFILES) $(SUPPORTFILES) $(REFFILES) \
88 $(doc_DATA) $(EPSFILES) $(man_MANS) $(REFFILES) \
89 zvrank.txt marc_indexing.xml
91 zebraidx.1: zebraidx-man.sgml zebraidx-options.xml zebraidx-commands.xml
92 if test ! -f zebraidx-options.xml ; then ln -s $(srcdir)/zebraidx-options.xml .; fi
93 if test ! -f zebraidx-commands.xml ; then ln -s $(srcdir)/zebraidx-commands.xml .; fi
94 docbook2man $(srcdir)/zebraidx-man.sgml
96 # zebrasrv-commands.xml
97 zebrasrv.8: zebrasrv-man.sgml zebrasrv-options.xml \
98 zebrasrv-synopsis.xml zebrasrv-virtual.xml
99 docbook2man $(srcdir)/zebrasrv-man.sgml
101 idzebra-config.1: idzebra-config-man.sgml
102 docbook2man $(srcdir)/idzebra-config-man.sgml
104 $(HTMLFILES): $(XMLFILES)
105 jade -E14 -D $(srcdir) -d zebrahtml.dsl -t sgml $(srcdir)/xml.dcl zebra.xml
107 zebra.php: $(XMLFILES)
108 jade -E14 -D $(srcdir) -d zebraphp.dsl -t sgml $(srcdir)/xml.dcl zebra.xml
110 zebra.pdf: $(XMLFILES)
111 for i in $(PNGFILES); do \
112 if test ! -f $$i; then ln -s $(srcdir)/$$i .; fi; \
114 jade -E14 -D $(srcdir) -d zebraprint.dsl -t tex $(srcdir)/xml.dcl zebra.xml
115 pdfjadetex zebra.tex >/dev/null
116 pdfjadetex zebra.tex >/dev/null
117 pdfjadetex zebra.tex >/dev/null
119 index.tkl: $(XMLFILES) tkl.xsl
120 xsltproc tkl.xsl zebra.xml
123 sgml2txt -f gils.sgml
126 sgml2latex -o ps -p a4 gils.sgml
135 for f in $(srcdir)/*.html; do \
138 for h in $(HTMLFILES); do \
139 if test "$$h" = "$$b"; then \
143 if test "$$found" = "0"; then \
144 echo "$$f not found in HTMLFILES"; \