1 ## $Id: Makefile.am,v 1.28 2005-08-08 11:08:52 adam Exp $
2 docdir=$(datadir)/doc/@PACKAGE@
22 zebraidx-options.xml \
23 zebraidx-commands.xml \
24 zebrasrv-options.xml \
25 zebrasrv-synopsis.xml \
29 administration.html apps.html configuration-file.html data-model.html \
30 example1.html example2.html examples.html features.html file-ids.html \
31 formats.html future.html generic-ids.html indexdata.html installation.html \
32 installation.win32.html internal-representation.html introduction.html \
33 license.html locating-records.html protocol-support.html quick-start.html \
34 record-model.html register-location.html server.html shadow-registers.html \
35 simple-indexing.html support.html zebra.html zebraidx.html
40 MANFILES=zebraidx.1 zebrasrv.8 idzebra-config.1
42 REFFILES=zebraidx-man.sgml zebrasrv-man.sgml idzebra-config-man.sgml
44 doc_DATA = $(HTMLFILES) zebra.pdf $(PNGFILES)
45 man_MANS = $(MANFILES)
47 EXTRA_DIST = $(XMLFILES) $(SUPPORTFILES) $(REFFILES) \
48 $(doc_DATA) $(EPSFILES) $(man_MANS) $(REFFILES) \
49 zvrank.txt marc_indexing.xml
51 zebraidx.1: zebraidx-man.sgml zebraidx-options.xml zebraidx-commands.xml
52 if test ! -f zebraidx-options.xml ; then ln -s $(srcdir)/zebraidx-options.xml .; fi
53 if test ! -f zebraidx-commands.xml ; then ln -s $(srcdir)/zebraidx-commands.xml .; fi
54 docbook2man $(srcdir)/zebraidx-man.sgml
56 # zebrasrv-commands.xml
57 zebrasrv.8: zebrasrv-man.sgml zebrasrv-options.xml \
58 zebrasrv-synopsis.xml zebrasrv-virtual.xml
59 docbook2man $(srcdir)/zebrasrv-man.sgml
61 idzebra-config.1: idzebra-config-man.sgml
62 docbook2man $(srcdir)/idzebra-config-man.sgml
64 $(HTMLFILES): $(XMLFILES)
65 jade -E14 -D $(srcdir) -d zebrahtml.dsl -t sgml $(srcdir)/xml.dcl zebra.xml
67 zebra.php: $(XMLFILES)
68 jade -E14 -D $(srcdir) -d zebraphp.dsl -t sgml $(srcdir)/xml.dcl zebra.xml
70 zebra.pdf: $(XMLFILES)
71 for i in $(PNGFILES); do \
72 if test ! -f $$i; then ln -s $(srcdir)/$$i .; fi; \
74 jade -E14 -D $(srcdir) -d zebraprint.dsl -t tex $(srcdir)/xml.dcl zebra.xml
75 pdfjadetex zebra.tex >/dev/null
76 pdfjadetex zebra.tex >/dev/null
77 pdfjadetex zebra.tex >/dev/null
79 index.tkl: $(XMLFILES) tkl.xsl
80 xsltproc tkl.xsl zebra.xml
86 sgml2latex -o ps -p a4 gils.sgml
95 for f in $(srcdir)/*.html; do \
98 for h in $(HTMLFILES); do \
99 if test "$$h" = "$$b"; then \
103 if test "$$found" = "0"; then \
104 echo "$$h not found in HTMLFILES"; \