1 ## $Id: Makefile.am,v 1.51 2006-06-27 12:07:05 marc Exp $
2 docdir=$(datadir)/doc/@PACKAGE@
10 idzebra-config-man.xml \
18 recordmodel-alvisxslt.xml \
22 zebraidx-commands.xml \
24 zebraidx-options.xml \
27 zebrasrv-options.xml \
28 zebrasrv-synopsis.xml \
32 administration-extended-services.html \
33 administration-ranking.html \
36 architecture-maincomponents.html \
37 architecture-workflow.html \
39 configuration-file.html \
48 grs-exchange-formats.html \
49 grs-internal-representation.html \
52 installation.debian.html \
54 installation.win32.html \
55 installation-upgrade.html \
58 locating-records.html \
59 protocol-support.html \
60 querymodel-cql-to-pqf.html \
62 querymodel-zebra.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.xml zebrasrv-man.xml idzebra-config-man.xml
88 doc_DATA = $(HTMLFILES) $(PNGFILES)
89 man_MANS = $(MANFILES)
91 EXTRA_DIST = $(XMLFILES) $(REFFILES) \
92 $(doc_DATA) $(EPSFILES) $(man_MANS) $(REFFILES) \
93 marc_indexing.xml entities.ent local.ent.in
95 zebraidx.1: zebraidx-man.xml zebraidx-options.xml zebraidx-commands.xml
96 $(MAN_COMPILE) $(srcdir)/zebraidx-man.xml
98 zebrasrv.8: zebrasrv-man.xml zebrasrv-options.xml \
99 zebrasrv-synopsis.xml zebrasrv-virtual.xml
100 $(MAN_COMPILE) $(srcdir)/zebrasrv-man.xml
102 idzebra-config.1: idzebra-config-man.xml
103 $(MAN_COMPILE) $(srcdir)/idzebra-config-man.xml
105 $(HTMLFILES): $(XMLFILES)
106 $(HTML_COMPILE) $(srcdir)/zebra.xml
108 index.tkl: $(XMLFILES) common/tkl.xsl
109 $(TKL_COMPILE) $(srcdir)/zebra.xml
111 zebra.pdf: $(XMLFILES)
112 for i in $(PNGFILES); do \
113 if test ! -f $$i; then cp $(srcdir)/$$i .; fi; \
115 jade -E14 -D $(srcdir) -d common/print.dsl -t tex $(srcdir)/common/xml.dcl zebra.xml
116 pdfjadetex zebra.tex >/dev/null
117 pdfjadetex zebra.tex >/dev/null
118 pdfjadetex zebra.tex >/dev/null
121 sgml2txt -f gils.sgml
124 sgml2latex -o ps -p a4 gils.sgml
133 for f in *.html; do \
136 for h in $(HTMLFILES); do \
137 if test "$$h" = "$$b"; then \
141 if test "$$found" = "0"; then \
142 echo "$$f not found in HTMLFILES"; \