1 ## $Id: Makefile.am,v 1.36 2006-02-15 14:57:48 marc 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 \
33 HTMLFILES = administration-ranking.html \
36 architecture-maincomponents.html \
37 architecture-workflow.html \
39 configuration-file.html \
47 grs-exchange-formats.html \
48 grs-internal-representation.html \
50 installation.debian.html \
52 installation.win32.html \
55 locating-records.html \
56 protocol-support.html \
58 record-model-alvisxslt-conf.html \
59 record-model-alvisxslt.html \
60 record-model-grs-conf.html \
61 record-model-grs.html \
62 register-location.html \
63 server-sru-support.html \
66 shadow-registers.html \
67 simple-indexing.html \
76 MANFILES=zebraidx.1 zebrasrv.8 idzebra-config.1
78 REFFILES=zebraidx-man.sgml zebrasrv-man.sgml idzebra-config-man.sgml
80 #doc_DATA = $(HTMLFILES) zebra.pdf $(PNGFILES)
81 doc_DATA = $(HTMLFILES) $(PNGFILES)
82 man_MANS = $(MANFILES)
84 EXTRA_DIST = $(XMLFILES) $(SUPPORTFILES) $(REFFILES) \
85 $(doc_DATA) $(EPSFILES) $(man_MANS) $(REFFILES) \
86 zvrank.txt marc_indexing.xml
88 zebraidx.1: zebraidx-man.sgml zebraidx-options.xml zebraidx-commands.xml
89 if test ! -f zebraidx-options.xml ; then ln -s $(srcdir)/zebraidx-options.xml .; fi
90 if test ! -f zebraidx-commands.xml ; then ln -s $(srcdir)/zebraidx-commands.xml .; fi
91 docbook2man $(srcdir)/zebraidx-man.sgml
93 # zebrasrv-commands.xml
94 zebrasrv.8: zebrasrv-man.sgml zebrasrv-options.xml \
95 zebrasrv-synopsis.xml zebrasrv-virtual.xml
96 docbook2man $(srcdir)/zebrasrv-man.sgml
98 idzebra-config.1: idzebra-config-man.sgml
99 docbook2man $(srcdir)/idzebra-config-man.sgml
101 $(HTMLFILES): $(XMLFILES)
102 jade -E14 -D $(srcdir) -d zebrahtml.dsl -t sgml $(srcdir)/xml.dcl zebra.xml
104 zebra.php: $(XMLFILES)
105 jade -E14 -D $(srcdir) -d zebraphp.dsl -t sgml $(srcdir)/xml.dcl zebra.xml
107 zebra.pdf: $(XMLFILES)
108 for i in $(PNGFILES); do \
109 if test ! -f $$i; then ln -s $(srcdir)/$$i .; fi; \
111 jade -E14 -D $(srcdir) -d zebraprint.dsl -t tex $(srcdir)/xml.dcl zebra.xml
112 pdfjadetex zebra.tex >/dev/null
113 pdfjadetex zebra.tex >/dev/null
114 pdfjadetex zebra.tex >/dev/null
116 index.tkl: $(XMLFILES) tkl.xsl
117 xsltproc tkl.xsl zebra.xml
120 sgml2txt -f gils.sgml
123 sgml2latex -o ps -p a4 gils.sgml
132 for f in $(srcdir)/*.html; do \
135 for h in $(HTMLFILES); do \
136 if test "$$h" = "$$b"; then \
140 if test "$$found" = "0"; then \
141 echo "$$f not found in HTMLFILES"; \