1 ## $Id: Makefile.am,v 1.32 2006-01-23 07:04:34 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 \
44 grs-exchange-formats.html \
45 grs-internal-representation.html \
46 grs-record-model.html \
48 installation.debian.html \
50 installation.win32.html \
53 locating-records.html \
55 protocol-support.html \
58 register-location.html \
60 shadow-registers.html \
61 simple-indexing.html \
72 MANFILES=zebraidx.1 zebrasrv.8 idzebra-config.1
74 REFFILES=zebraidx-man.sgml zebrasrv-man.sgml idzebra-config-man.sgml
76 doc_DATA = $(HTMLFILES) zebra.pdf $(PNGFILES)
77 man_MANS = $(MANFILES)
79 EXTRA_DIST = $(XMLFILES) $(SUPPORTFILES) $(REFFILES) \
80 $(doc_DATA) $(EPSFILES) $(man_MANS) $(REFFILES) \
81 zvrank.txt marc_indexing.xml
83 zebraidx.1: zebraidx-man.sgml zebraidx-options.xml zebraidx-commands.xml
84 if test ! -f zebraidx-options.xml ; then ln -s $(srcdir)/zebraidx-options.xml .; fi
85 if test ! -f zebraidx-commands.xml ; then ln -s $(srcdir)/zebraidx-commands.xml .; fi
86 docbook2man $(srcdir)/zebraidx-man.sgml
88 # zebrasrv-commands.xml
89 zebrasrv.8: zebrasrv-man.sgml zebrasrv-options.xml \
90 zebrasrv-synopsis.xml zebrasrv-virtual.xml
91 docbook2man $(srcdir)/zebrasrv-man.sgml
93 idzebra-config.1: idzebra-config-man.sgml
94 docbook2man $(srcdir)/idzebra-config-man.sgml
96 $(HTMLFILES): $(XMLFILES)
97 jade -E14 -D $(srcdir) -d zebrahtml.dsl -t sgml $(srcdir)/xml.dcl zebra.xml
99 zebra.php: $(XMLFILES)
100 jade -E14 -D $(srcdir) -d zebraphp.dsl -t sgml $(srcdir)/xml.dcl zebra.xml
102 zebra.pdf: $(XMLFILES)
103 for i in $(PNGFILES); do \
104 if test ! -f $$i; then ln -s $(srcdir)/$$i .; fi; \
106 jade -E14 -D $(srcdir) -d zebraprint.dsl -t tex $(srcdir)/xml.dcl zebra.xml
107 pdfjadetex zebra.tex >/dev/null
108 pdfjadetex zebra.tex >/dev/null
109 pdfjadetex zebra.tex >/dev/null
111 index.tkl: $(XMLFILES) tkl.xsl
112 xsltproc tkl.xsl zebra.xml
115 sgml2txt -f gils.sgml
118 sgml2latex -o ps -p a4 gils.sgml
127 for f in $(srcdir)/*.html; do \
130 for h in $(HTMLFILES); do \
131 if test "$$h" = "$$b"; then \
135 if test "$$found" = "0"; then \
136 echo "$$f not found in HTMLFILES"; \