1 ## $Id: Makefile.am,v 1.23 2004-05-10 08:42:56 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
39 REFFILES=zebraidx-man.sgml zebrasrv-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 $(HTMLFILES): $(XMLFILES)
57 jade -E14 -D $(srcdir) -d zebrahtml.dsl -t sgml $(srcdir)/xml.dcl zebra.xml
59 zebra.php: $(XMLFILES)
60 jade -E14 -D $(srcdir) -d zebraphp.dsl -t sgml $(srcdir)/xml.dcl zebra.xml
62 zebra.pdf: $(XMLFILES)
63 for i in $(PNGFILES); do \
64 if test ! -f $$i; then ln -s $(srcdir)/$$i .; fi; \
66 jade -E14 -D $(srcdir) -d zebraprint.dsl -t tex $(srcdir)/xml.dcl zebra.xml
71 index.tkl: $(XMLFILES) tkl.xsl
72 xsltproc tkl.xsl zebra.xml
78 sgml2latex -o ps -p a4 gils.sgml
87 for f in $(srcdir)/*.html; do \
90 for h in $(HTMLFILES); do \
91 if test "$$h" = "$$b"; then \
95 if test "$$found" = "0"; then \
96 echo "$$h not found in HTMLFILES"; \