1 ## $Id: Makefile.am,v 1.54 2006-06-30 14:36:12 marc Exp $
2 docdir=$(datadir)/doc/$(PACKAGE)$(PACKAGE_SUFFIX)
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 \
35 architecture-maincomponents.html \
36 architecture-workflow.html \
38 configuration-file.html \
47 grs-exchange-formats.html \
48 grs-internal-representation.html \
51 installation-upgrade.html \
52 installation.debian.html \
54 installation.win32.html \
55 introduction-apps.html \
56 introduction-support.html \
59 locating-records.html \
60 protocol-support.html \
61 querymodel-cql-to-pqf.html \
63 querymodel-zebra.html \
66 record-model-alvisxslt-conf.html \
67 record-model-alvisxslt.html \
68 record-model-grs-conf.html \
69 record-model-grs.html \
70 register-location.html \
71 server-sru-support.html \
74 shadow-registers.html \
75 simple-indexing.html \
84 MANFILES=zebraidx$(PACKAGE_SUFFIX).1 \
85 zebrasrv$(PACKAGE_SUFFIX).8 \
88 REFFILES=zebraidx-man.xml zebrasrv-man.xml idzebra-config-man.xml
90 doc_DATA = $(HTMLFILES) $(PNGFILES)
91 man_MANS = $(MANFILES)
93 EXTRA_DIST = $(XMLFILES) $(REFFILES) \
94 $(doc_DATA) $(EPSFILES) $(man_MANS) $(REFFILES) \
95 marc_indexing.xml entities.ent local.ent.in
97 zebraidx$(PACKAGE_SUFFIX).1: zebraidx-man.xml zebraidx-options.xml zebraidx-commands.xml
98 $(MAN_COMPILE) $(srcdir)/zebraidx-man.xml
99 mv zebraidx.1 zebraidx$(PACKAGE_SUFFIX).1
101 zebrasrv$(PACKAGE_SUFFIX).8: zebrasrv-man.xml zebrasrv-options.xml \
102 zebrasrv-synopsis.xml zebrasrv-virtual.xml
103 $(MAN_COMPILE) $(srcdir)/zebrasrv-man.xml
104 mv zebrasrv.8 zebrasrv$(PACKAGE_SUFFIX).8
106 idzebra-config.1: idzebra-config-man.xml
107 $(MAN_COMPILE) $(srcdir)/idzebra-config-man.xml
109 $(HTMLFILES): $(XMLFILES)
110 $(HTML_COMPILE) $(srcdir)/zebra.xml
112 index.tkl: $(XMLFILES) common/tkl.xsl
113 $(TKL_COMPILE) $(srcdir)/zebra.xml
115 zebra.pdf: $(XMLFILES)
116 for i in $(PNGFILES); do \
117 if test ! -f $$i; then cp $(srcdir)/$$i .; fi; \
119 jade -E14 -D $(srcdir) -d common/print.dsl -t tex $(srcdir)/common/xml.dcl zebra.xml
120 pdfjadetex zebra.tex >/dev/null
121 pdfjadetex zebra.tex >/dev/null
122 pdfjadetex zebra.tex >/dev/null
125 sgml2txt -f gils.sgml
128 sgml2latex -o ps -p a4 gils.sgml
137 if test -f index.html; then for f in *.html; do \
140 for h in $(HTMLFILES); do \
141 if test "$$h" = "$$b"; then \
145 if test "$$found" = "0"; then \
146 echo "$$f not found in HTMLFILES"; \
152 cd $(DESTDIR)$(man1dir) && ln -sf zebraidx$(PACKAGE_SUFFIX).1 zebraidx.1
153 cd $(DESTDIR)$(man8dir) && ln -sf zebrasrv$(PACKAGE_SUFFIX).8 zebrasrv.8