1 ## $Id: Makefile.am,v 1.56 2004-11-16 17:08:11 heikki 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.ssl.html comstack.summary.html \
16 credits.html future.html \
17 indexdata.html installation.html installation.unix.html \
18 installation.win32.html introduction.api.html introduction.html \
19 license.html license.other.html odr.debugging.html odr.html \
20 odr.programming.html odr.use.html server.backendfunctions.html \
21 server.backend.html server.frontend.html server.html server.invocation.html \
22 server.main.html soap.html soap.http.html soap.xml.html soap.srw.html \
23 tools.html tools.marc.html tools.nmem.html tools.log.html tools.oid.html \
24 yaz.html zoom.events.html zoom.html zoom.options.html zoom.query.html \
25 zoom.records.html zoom.resultsets.html zoom.scan.html
27 MANFILES=yaz-client.1 yaz-ztest.8 \
28 yaz-config.8 yaz.7 zoomsh.1 yaz-asncomp.1 \
29 yaz-marcdump.1 yaz-iconv.1
30 REFFILES=yaz-client-man.xml yaz-ztest-man.xml yaz-config-man.xml \
31 yaz-man.xml zoomsh-man.xml yaz-asncomp-man.xml \
32 yaz-marcdump-man.xml yaz-iconv-man.xml
34 SUPPORTFILES=yazhtml.dsl yazphp.dsl yazprint.dsl tkl.xsl xml.dcl id.eps \
37 doc_DATA = $(HTMLFILES) yaz.pdf id.png apilayer.png yaz.css
38 man_MANS = $(MANFILES)
40 EXTRA_DIST = $(XMLFILES) $(SUPPORTFILES) $(man_MANS) $(REFFILES) \
43 yaz-client.1: $(srcdir)/yaz-client-man.xml $(srcdir)/yaz-client-commands.xml
44 docbook2man $(srcdir)/yaz-client-man.xml
46 yaz-ztest.8: yaz-ztest-man.xml ztest-options.xml
47 docbook2man $(srcdir)/yaz-ztest-man.xml
49 yaz-config.8: yaz-config-man.xml
50 docbook2man $(srcdir)/yaz-config-man.xml
53 docbook2man $(srcdir)/yaz-man.xml
55 zoomsh.1: zoomsh-man.xml
56 docbook2man $(srcdir)/zoomsh-man.xml
58 yaz-asncomp.1: yaz-asncomp-man.xml
59 docbook2man $(srcdir)/yaz-asncomp-man.xml
61 yaz-marcdump.1: yaz-marcdump-man.xml
62 docbook2man $(srcdir)/yaz-marcdump-man.xml
64 yaz-iconv.1: yaz-iconv-man.xml
65 docbook2man $(srcdir)/yaz-iconv-man.xml
67 $(HTMLFILES): $(XMLFILES)
68 jade -E14 -D $(srcdir) -d yazhtml.dsl -t sgml $(srcdir)/xml.dcl yaz.xml
71 jade -E14 -D $(srcdir) -d yazphp.dsl -t sgml $(srcdir)/xml.dcl yaz.xml
73 yaz.pdf: $(XMLFILES) $(srcdir)/id.png
74 if test ! -f id.png ; then ln -s $(srcdir)/id.png .; fi
75 if test ! -f apilayer.png ; then ln -s $(srcdir)/apilayer.png .; fi
76 jade -E14 -D $(srcdir) -d yazprint.dsl -t tex $(srcdir)/xml.dcl yaz.xml
81 index.tkl: $(XMLFILES) tkl.xsl
82 xsltproc tkl.xsl yaz.xml
85 tgif -print -xbm apilayer.obj
86 xbmtopbm <apilayer.xbm|pnmtopng >apilayer.png
89 for f in $(srcdir)/*.html; do \
92 for h in $(HTMLFILES); do \
93 if test "$$h" = "$$b"; then \
97 if test "$$found" = "0"; then \
98 echo "$$b not found in HTMLFILES"; \