1 ## $Id: Makefile.am,v 1.62 2005-11-08 21:57:47 adam Exp $
3 docdir=$(datadir)/doc/@PACKAGE@
5 XMLFILES=yaz.xml.in bookinfo.xml introduction.xml installation.xml \
7 asn.xml tools.xml odr.xml comstack.xml frontend.xml license.xml \
8 future.xml client.xml zoom.xml credits.xml gfs-options.xml \
9 yaz-client-commands.xml soap.xml gfs-virtual.xml gfs-synopsis.xml
12 asn.external.html asn.html asn.oid.html asn.pdu.html asn.preparing.html \
13 client.commands.html client.html client.invoking.html client.searching.html \
14 comstack.addresses.html comstack.client.html comstack.common.html \
15 comstack.diagnostics.html comstack.html comstack.introduction.html \
16 comstack.server.html comstack.ssl.html comstack.summary.html \
17 credits.html future.html \
18 indexdata.html installation.html installation.unix.html \
19 installation.win32.html introduction.api.html introduction.html \
20 license.html license.other.html odr.debugging.html odr.html \
21 odr.programming.html odr.use.html server.backendfunctions.html \
22 server.backend.html server.frontend.html server.html server.invocation.html \
23 server.main.html server.vhosts.html \
24 soap.html soap.http.html soap.xml.html soap.srw.html \
25 tools.html tools.marc.html tools.nmem.html tools.log.html tools.oid.html \
26 yaz.html zoom.events.html zoom.ext.html zoom.html zoom.options.html \
27 zoom.query.html zoom.records.html zoom.resultsets.html zoom.scan.html
29 MANFILES=yaz-client.1 yaz-ztest.8 \
30 yaz-config.8 yaz.7 zoomsh.1 yaz-asncomp.1 \
31 yaz-marcdump.1 yaz-iconv.1 yaz-log.7
32 REFFILES=yaz-client-man.xml yaz-ztest-man.xml yaz-config-man.xml \
33 yaz-man.xml zoomsh-man.xml yaz-asncomp-man.xml \
34 yaz-marcdump-man.xml yaz-iconv-man.xml yaz-log-man.xml
36 SUPPORTFILES=entities.ent yazhtml.dsl yazprint.dsl tkl.xsl xml.dcl id.eps \
39 doc_DATA = $(HTMLFILES) yaz.pdf id.png apilayer.png yaz.css
40 man_MANS = $(MANFILES)
42 EXTRA_DIST = $(XMLFILES) $(SUPPORTFILES) $(man_MANS) $(REFFILES) \
45 yaz-client.1: $(srcdir)/yaz-client-man.xml $(srcdir)/yaz-client-commands.xml
46 docbook2man $(srcdir)/yaz-client-man.xml
48 yaz-ztest.8: yaz-ztest-man.xml gfs-options.xml gfs-synopsis.xml gfs-virtual.xml
49 docbook2man $(srcdir)/yaz-ztest-man.xml
51 yaz-config.8: yaz-config-man.xml
52 docbook2man $(srcdir)/yaz-config-man.xml
55 docbook2man $(srcdir)/yaz-man.xml
57 zoomsh.1: zoomsh-man.xml
58 docbook2man $(srcdir)/zoomsh-man.xml
60 yaz-asncomp.1: yaz-asncomp-man.xml
61 docbook2man $(srcdir)/yaz-asncomp-man.xml
63 yaz-marcdump.1: yaz-marcdump-man.xml
64 docbook2man $(srcdir)/yaz-marcdump-man.xml
66 yaz-iconv.1: yaz-iconv-man.xml
67 docbook2man $(srcdir)/yaz-iconv-man.xml
69 yaz-log.7: yaz-log-man.xml
70 docbook2man $(srcdir)/yaz-log-man.xml
72 $(HTMLFILES): $(XMLFILES)
73 jade -E14 -D $(srcdir) -d yazhtml.dsl -t sgml $(srcdir)/xml.dcl yaz.xml
75 yaz.pdf: $(XMLFILES) $(srcdir)/id.png
76 if test ! -f id.png ; then ln -s $(srcdir)/id.png .; fi
77 if test ! -f apilayer.png ; then ln -s $(srcdir)/apilayer.png .; fi
78 jade -E14 -D $(srcdir) -d yazprint.dsl -t tex $(srcdir)/xml.dcl yaz.xml
79 pdfjadetex yaz.tex >/dev/null
80 pdfjadetex yaz.tex >/dev/null
81 pdfjadetex yaz.tex >/dev/null
83 index.tkl: $(XMLFILES) tkl.xsl
84 xsltproc tkl.xsl yaz.xml
87 tgif -print -xbm apilayer.obj
88 xbmtopbm <apilayer.xbm|pnmtopng >apilayer.png
91 for f in $(srcdir)/*.html; do \
94 for h in $(HTMLFILES); do \
95 if test "$$h" = "$$b"; then \
99 if test "$$found" = "0"; then \
100 echo "$$b not found in HTMLFILES"; \