1 ## $Id: Makefile.am,v 1.40 2006-02-19 15:10:04 adam Exp $
2 docdir=$(datadir)/doc/@PACKAGE@
11 XMLFILES = zebra.xml.in \
21 recordmodel-alvisxslt.xml \
25 zebraidx-commands.xml \
26 zebraidx-options.xml \
28 zebrasrv-options.xml \
29 zebrasrv-synopsis.xml \
34 administration-cql-to-pqf.html \
35 administration-extended-services.html \
36 administration-ranking.html \
39 architecture-maincomponents.html \
40 architecture-workflow.html \
42 configuration-file.html \
51 grs-exchange-formats.html \
52 grs-internal-representation.html \
53 grs-record-model.html \
55 installation.debian.html \
57 installation.win32.html \
60 locating-records.html \
62 protocol-support.html \
65 record-model-alvisxslt-conf.html \
66 record-model-alvisxslt.html \
67 record-model-grs-conf.html \
68 record-model-grs.html \
69 register-location.html \
70 server-sru-support.html \
73 shadow-registers.html \
74 simple-indexing.html \
84 MANFILES=zebraidx.1 zebrasrv.8 idzebra-config.1
86 REFFILES=zebraidx-man.sgml zebrasrv-man.sgml idzebra-config-man.sgml
88 #doc_DATA = $(HTMLFILES) zebra.pdf $(PNGFILES)
89 doc_DATA = $(HTMLFILES) $(PNGFILES)
90 man_MANS = $(MANFILES)
92 EXTRA_DIST = $(XMLFILES) $(SUPPORTFILES) $(REFFILES) \
93 $(doc_DATA) $(EPSFILES) $(man_MANS) $(REFFILES) \
94 zvrank.txt marc_indexing.xml
96 zebraidx.1: zebraidx-man.sgml zebraidx-options.xml zebraidx-commands.xml
97 if test ! -f zebraidx-options.xml ; then ln -s $(srcdir)/zebraidx-options.xml .; fi
98 if test ! -f zebraidx-commands.xml ; then ln -s $(srcdir)/zebraidx-commands.xml .; fi
99 docbook2man $(srcdir)/zebraidx-man.sgml
101 # zebrasrv-commands.xml
102 zebrasrv.8: zebrasrv-man.sgml zebrasrv-options.xml \
103 zebrasrv-synopsis.xml zebrasrv-virtual.xml
104 docbook2man $(srcdir)/zebrasrv-man.sgml
106 idzebra-config.1: idzebra-config-man.sgml
107 docbook2man $(srcdir)/idzebra-config-man.sgml
109 $(HTMLFILES): $(XMLFILES)
110 jade -E14 -D $(srcdir) -d zebrahtml.dsl -t sgml $(srcdir)/xml.dcl zebra.xml
112 zebra.php: $(XMLFILES)
113 jade -E14 -D $(srcdir) -d zebraphp.dsl -t sgml $(srcdir)/xml.dcl zebra.xml
115 zebra.pdf: $(XMLFILES)
116 for i in $(PNGFILES); do \
117 if test ! -f $$i; then ln -s $(srcdir)/$$i .; fi; \
119 jade -E14 -D $(srcdir) -d zebraprint.dsl -t tex $(srcdir)/xml.dcl zebra.xml
120 pdfjadetex zebra.tex >/dev/null
121 pdfjadetex zebra.tex >/dev/null
122 pdfjadetex zebra.tex >/dev/null
124 index.tkl: $(XMLFILES) tkl.xsl
125 xsltproc tkl.xsl zebra.xml
128 sgml2txt -f gils.sgml
131 sgml2latex -o ps -p a4 gils.sgml
140 for f in $(srcdir)/*.html; do \
143 for h in $(HTMLFILES); do \
144 if test "$$h" = "$$b"; then \
148 if test "$$found" = "0"; then \
149 echo "$$f not found in HTMLFILES"; \