1 ## $Id: Makefile.am,v 1.25 2004-09-28 20:38:25 adam Exp $
2 docdir=$(datadir)/doc/@PACKAGE@
22 zebraidx-options.xml \
26 administration.html apps.html configuration-file.html data-model.html \
27 example1.html example2.html examples.html features.html file-ids.html \
28 formats.html future.html generic-ids.html indexdata.html installation.html \
29 installation.win32.html internal-representation.html introduction.html \
30 license.html locating-records.html protocol-support.html quick-start.html \
31 record-model.html register-location.html server.html shadow-registers.html \
32 simple-indexing.html support.html zebra.html zebraidx.html
37 MANFILES=zebraidx.1 zebrasrv.8 idzebra-config.1
39 REFFILES=zebraidx-man.sgml zebrasrv-man.sgml idzebra-config-man.sgml
41 doc_DATA = $(HTMLFILES) zebra.pdf $(PNGFILES)
42 man_MANS = $(MANFILES)
44 EXTRA_DIST = $(XMLFILES) $(SUPPORTFILES) $(REFFILES) \
45 $(doc_DATA) $(EPSFILES) $(man_MANS) $(REFFILES) \
46 zvrank.txt marc_indexing.xml
48 zebraidx.1: zebraidx-man.sgml zebraidx-options.xml zebraidx-commands.xml
49 if test ! -f zebraidx-options.xml ; then ln -s $(srcdir)/zebraidx-options.xml .; fi
50 if test ! -f zebraidx-commands.xml ; then ln -s $(srcdir)/zebraidx-commands.xml .; fi
51 docbook2man $(srcdir)/zebraidx-man.sgml
53 zebrasrv.8: zebrasrv-man.sgml
54 docbook2man $(srcdir)/zebrasrv-man.sgml
56 idzebra-config.1: idzebra-config-man.sgml
57 docbook2man $(srcdir)/idzebra-config-man.sgml
59 $(HTMLFILES): $(XMLFILES)
60 jade -E14 -D $(srcdir) -d zebrahtml.dsl -t sgml $(srcdir)/xml.dcl zebra.xml
62 zebra.php: $(XMLFILES)
63 jade -E14 -D $(srcdir) -d zebraphp.dsl -t sgml $(srcdir)/xml.dcl zebra.xml
65 zebra.pdf: $(XMLFILES)
66 for i in $(PNGFILES); do \
67 if test ! -f $$i; then ln -s $(srcdir)/$$i .; fi; \
69 jade -E14 -D $(srcdir) -d zebraprint.dsl -t tex $(srcdir)/xml.dcl zebra.xml
74 index.tkl: $(XMLFILES) tkl.xsl
75 xsltproc tkl.xsl zebra.xml
81 sgml2latex -o ps -p a4 gils.sgml
90 for f in $(srcdir)/*.html; do \
93 for h in $(HTMLFILES); do \
94 if test "$$h" = "$$b"; then \
98 if test "$$found" = "0"; then \
99 echo "$$h not found in HTMLFILES"; \