1 ## $Id: Makefile.am,v 1.31 2006-01-22 00:24:10 adam Exp $
2 docdir=$(datadir)/doc/@PACKAGE@
25 zebraidx-commands.xml \
26 zebraidx-options.xml \
28 zebrasrv-options.xml \
29 zebrasrv-synopsis.xml \
36 configuration-file.html \
46 grs-exchange-formats.html \
47 grs-internal-representation.html \
48 grs-record-model.html \
50 installation.debian.html \
52 installation.win32.html \
53 internal-representation.html \
56 locating-records.html \
58 protocol-support.html \
61 register-location.html \
63 shadow-registers.html \
64 simple-indexing.html \
75 MANFILES=zebraidx.1 zebrasrv.8 idzebra-config.1
77 REFFILES=zebraidx-man.sgml zebrasrv-man.sgml idzebra-config-man.sgml
79 doc_DATA = $(HTMLFILES) zebra.pdf $(PNGFILES)
80 man_MANS = $(MANFILES)
82 EXTRA_DIST = $(XMLFILES) $(SUPPORTFILES) $(REFFILES) \
83 $(doc_DATA) $(EPSFILES) $(man_MANS) $(REFFILES) \
84 zvrank.txt marc_indexing.xml
86 zebraidx.1: zebraidx-man.sgml zebraidx-options.xml zebraidx-commands.xml
87 if test ! -f zebraidx-options.xml ; then ln -s $(srcdir)/zebraidx-options.xml .; fi
88 if test ! -f zebraidx-commands.xml ; then ln -s $(srcdir)/zebraidx-commands.xml .; fi
89 docbook2man $(srcdir)/zebraidx-man.sgml
91 # zebrasrv-commands.xml
92 zebrasrv.8: zebrasrv-man.sgml zebrasrv-options.xml \
93 zebrasrv-synopsis.xml zebrasrv-virtual.xml
94 docbook2man $(srcdir)/zebrasrv-man.sgml
96 idzebra-config.1: idzebra-config-man.sgml
97 docbook2man $(srcdir)/idzebra-config-man.sgml
99 $(HTMLFILES): $(XMLFILES)
100 jade -E14 -D $(srcdir) -d zebrahtml.dsl -t sgml $(srcdir)/xml.dcl zebra.xml
102 zebra.php: $(XMLFILES)
103 jade -E14 -D $(srcdir) -d zebraphp.dsl -t sgml $(srcdir)/xml.dcl zebra.xml
105 zebra.pdf: $(XMLFILES)
106 for i in $(PNGFILES); do \
107 if test ! -f $$i; then ln -s $(srcdir)/$$i .; fi; \
109 jade -E14 -D $(srcdir) -d zebraprint.dsl -t tex $(srcdir)/xml.dcl zebra.xml
110 pdfjadetex zebra.tex >/dev/null
111 pdfjadetex zebra.tex >/dev/null
112 pdfjadetex zebra.tex >/dev/null
114 index.tkl: $(XMLFILES) tkl.xsl
115 xsltproc tkl.xsl zebra.xml
118 sgml2txt -f gils.sgml
121 sgml2latex -o ps -p a4 gils.sgml
130 for f in $(srcdir)/*.html; do \
133 for h in $(HTMLFILES); do \
134 if test "$$h" = "$$b"; then \
138 if test "$$found" = "0"; then \
139 echo "$$f not found in HTMLFILES"; \