1 ## $Id: Makefile.am,v 1.33 2006-01-23 13:59:48 adam Exp $
2 docdir=$(datadir)/doc/@PACKAGE@
24 zebraidx-commands.xml \
25 zebraidx-options.xml \
27 zebrasrv-options.xml \
28 zebrasrv-synopsis.xml \
35 configuration-file.html \
43 grs-exchange-formats.html \
44 grs-internal-representation.html \
45 grs-record-model.html \
47 installation.debian.html \
49 installation.win32.html \
52 locating-records.html \
54 protocol-support.html \
57 register-location.html \
59 shadow-registers.html \
60 simple-indexing.html \
71 MANFILES=zebraidx.1 zebrasrv.8 idzebra-config.1
73 REFFILES=zebraidx-man.sgml zebrasrv-man.sgml idzebra-config-man.sgml
75 doc_DATA = $(HTMLFILES) zebra.pdf $(PNGFILES)
76 man_MANS = $(MANFILES)
78 EXTRA_DIST = $(XMLFILES) $(SUPPORTFILES) $(REFFILES) \
79 $(doc_DATA) $(EPSFILES) $(man_MANS) $(REFFILES) \
80 zvrank.txt marc_indexing.xml
82 zebraidx.1: zebraidx-man.sgml zebraidx-options.xml zebraidx-commands.xml
83 if test ! -f zebraidx-options.xml ; then ln -s $(srcdir)/zebraidx-options.xml .; fi
84 if test ! -f zebraidx-commands.xml ; then ln -s $(srcdir)/zebraidx-commands.xml .; fi
85 docbook2man $(srcdir)/zebraidx-man.sgml
87 # zebrasrv-commands.xml
88 zebrasrv.8: zebrasrv-man.sgml zebrasrv-options.xml \
89 zebrasrv-synopsis.xml zebrasrv-virtual.xml
90 docbook2man $(srcdir)/zebrasrv-man.sgml
92 idzebra-config.1: idzebra-config-man.sgml
93 docbook2man $(srcdir)/idzebra-config-man.sgml
95 $(HTMLFILES): $(XMLFILES)
96 jade -E14 -D $(srcdir) -d zebrahtml.dsl -t sgml $(srcdir)/xml.dcl zebra.xml
98 zebra.php: $(XMLFILES)
99 jade -E14 -D $(srcdir) -d zebraphp.dsl -t sgml $(srcdir)/xml.dcl zebra.xml
101 zebra.pdf: $(XMLFILES)
102 for i in $(PNGFILES); do \
103 if test ! -f $$i; then ln -s $(srcdir)/$$i .; fi; \
105 jade -E14 -D $(srcdir) -d zebraprint.dsl -t tex $(srcdir)/xml.dcl zebra.xml
106 pdfjadetex zebra.tex >/dev/null
107 pdfjadetex zebra.tex >/dev/null
108 pdfjadetex zebra.tex >/dev/null
110 index.tkl: $(XMLFILES) tkl.xsl
111 xsltproc tkl.xsl zebra.xml
114 sgml2txt -f gils.sgml
117 sgml2latex -o ps -p a4 gils.sgml
126 for f in $(srcdir)/*.html; do \
129 for h in $(HTMLFILES); do \
130 if test "$$h" = "$$b"; then \
134 if test "$$found" = "0"; then \
135 echo "$$f not found in HTMLFILES"; \