1 ## $Id: Makefile.am,v 1.37 2003-02-18 10:37:08 adam Exp $
3 docdir=$(datadir)/doc/@PACKAGE@
5 XMLFILES=yaz.xml.in introduction.xml installation.xml indexdata.xml \
6 asn.xml tools.xml odr.xml comstack.xml frontend.xml license.xml \
7 future.xml client.xml zoom.xml credits.xml ztest-options.xml \
8 yaz-client-commands.xml
16 client.commands.html \
18 client.invoking.html \
19 client.searching.html \
20 comstack.addresses.html \
21 comstack.client.html \
22 comstack.common.html \
23 comstack.diagnostics.html \
25 comstack.introduction.html \
26 comstack.server.html \
27 comstack.summary.html \
32 installation.unix.html \
33 installation.win32.html \
39 odr.programming.html \
41 server.backendfunctions.html \
43 server.frontend.html \
45 server.invocation.html \
56 zoom.resultsets.html \
59 MANFILES=yaz-client.1 yaz-client-ssl.1 yaz-ztest.8 \
60 yaz-ztest-ssl.8 yaz-config.1 yaz.7 zoomsh.1
61 REFFILES=yaz-client.sgml yaz-ztest.sgml yaz-config.sgml \
62 yaz-man.sgml zoomsh.sgml
64 SUPPORTFILES=yazhtml.dsl yazphp.dsl yazprint.dsl tkl.xsl xml.dcl id.eps
66 doc_DATA = $(HTMLFILES) yaz.pdf id.png
68 EXTRA_DIST = $(XMLFILES) $(SUPPORTFILES) $(MANFILES) $(REFFILES) $(doc_DATA)
70 man_MANS = $(MANFILES)
72 yaz-client.1: $(srcdir)/yaz-client.sgml $(srcdir)/yaz-client-commands.xml
73 if test ! -f yaz-client-commands.xml ; then ln -s $(srcdir)/yaz-client-commands.xml .; fi
74 docbook2man $(srcdir)/yaz-client.sgml
76 yaz-ztest.8: yaz-ztest.sgml ztest-options.xml
77 if test ! -f ztest-options.xml ; then ln -s $(srcdir)/ztest-options .; fi
78 docbook2man $(srcdir)/yaz-ztest.sgml
80 yaz-config.1: yaz-config.sgml
81 docbook2man $(srcdir)/yaz-config.sgml
84 docbook2man $(srcdir)/yaz-man.sgml
87 docbook2man $(srcdir)/zoomsh.sgml
89 yaz-ztest-ssl.8: yaz-ztest.8
90 ln -s yaz-ztest.8 yaz-ztest-ssl.8
92 yaz-client-ssl.1: yaz-client.1
93 ln -s yaz-client.1 yaz-client-ssl.1
95 $(HTMLFILES): $(XMLFILES)
96 jade -E14 -D $(srcdir) -d yazhtml.dsl -t sgml $(srcdir)/xml.dcl yaz.xml
99 jade -E14 -D $(srcdir) -d yazphp.dsl -t sgml $(srcdir)/xml.dcl yaz.xml
101 yaz.pdf: $(XMLFILES) $(srcdir)/id.png
102 if test ! -f id.png ; then ln -s $(srcdir)/id.png .; fi
103 jade -E14 -D $(srcdir) -d yazprint.dsl -t tex $(srcdir)/xml.dcl yaz.xml
108 index.tkl: $(XMLFILES) tkl.xsl
109 xsltproc tkl.xsl yaz.xml