1 ## $Id: Makefile.am,v 1.44 2003-04-28 21:02:16 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 soap.xml
11 asn.external.html asn.html asn.oid.html asn.pdu.html asn.preparing.html \
12 client.commands.html client.html client.invoking.html client.searching.html \
13 comstack.addresses.html comstack.client.html comstack.common.html \
14 comstack.diagnostics.html comstack.html comstack.introduction.html \
15 comstack.server.html comstack.summary.html credits.html future.html \
16 indexdata.html installation.html installation.unix.html \
17 installation.win32.html introduction.api.html introduction.html \
18 license.html license.other.html odr.debugging.html odr.html \
19 odr.programming.html odr.use.html server.backendfunctions.html \
20 server.backend.html server.frontend.html server.html server.invocation.html \
21 server.main.html soap.html soap.http.html soap.xml.html soap.srw.html \
22 tools.html tools.nmem.html tools.oid.html yaz.html \
23 zoom.events.html zoom.html zoom.options.html zoom.query.html \
24 zoom.records.html zoom.resultsets.html zoom.scan.html
26 MANFILES=yaz-client.1 yaz-client-ssl.1 yaz-ztest.8 \
27 yaz-ztest-ssl.8 yaz-config.8 yaz.7 zoomsh.1
28 REFFILES=yaz-client.sgml yaz-ztest.sgml yaz-config.sgml \
29 yaz-man.sgml zoomsh.sgml
31 SUPPORTFILES=yazhtml.dsl yazphp.dsl yazprint.dsl tkl.xsl xml.dcl id.eps \
34 doc_DATA = $(HTMLFILES) yaz.pdf id.png apilayer.png
36 EXTRA_DIST = $(XMLFILES) $(SUPPORTFILES) $(MANFILES) $(REFFILES) \
39 man_MANS = $(MANFILES)
41 yaz-client.1: $(srcdir)/yaz-client.sgml $(srcdir)/yaz-client-commands.xml
42 if test ! -f yaz-client-commands.xml ; then ln -s $(srcdir)/yaz-client-commands.xml .; fi
43 docbook2man $(srcdir)/yaz-client.sgml
45 yaz-ztest.8: yaz-ztest.sgml ztest-options.xml
46 if test ! -f ztest-options.xml ; then ln -s $(srcdir)/ztest-options .; fi
47 docbook2man $(srcdir)/yaz-ztest.sgml
49 yaz-config.8: yaz-config.sgml
50 docbook2man $(srcdir)/yaz-config.sgml
53 docbook2man $(srcdir)/yaz-man.sgml
56 docbook2man $(srcdir)/zoomsh.sgml
59 ln -s yaz-ztest.8 yaz-ztest-ssl.8
62 ln -s yaz-client.1 yaz-client-ssl.1
64 $(HTMLFILES): $(XMLFILES)
65 jade -E14 -D $(srcdir) -d yazhtml.dsl -t sgml $(srcdir)/xml.dcl yaz.xml
68 jade -E14 -D $(srcdir) -d yazphp.dsl -t sgml $(srcdir)/xml.dcl yaz.xml
70 yaz.pdf: $(XMLFILES) $(srcdir)/id.png
71 if test ! -f id.png ; then ln -s $(srcdir)/id.png .; fi
72 jade -E14 -D $(srcdir) -d yazprint.dsl -t tex $(srcdir)/xml.dcl yaz.xml
77 index.tkl: $(XMLFILES) tkl.xsl
78 xsltproc tkl.xsl yaz.xml
81 tgif -print -xbm apilayer.obj
82 xbmtopbm <apilayer.xbm|pnmtopng >apilayer.png