1 ## $Id: Makefile.am,v 1.34 2002-09-17 20:17:44 adam Exp $
3 docdir=$(datadir)/doc/@PACKAGE@
5 XMLFILES=$(srcdir)/yaz.xml.in $(srcdir)/introduction.xml \
6 $(srcdir)/installation.xml $(srcdir)/indexdata.xml $(srcdir)/asn.xml \
7 $(srcdir)/tools.xml $(srcdir)/odr.xml $(srcdir)/comstack.xml \
8 $(srcdir)/frontend.xml $(srcdir)/license.xml $(srcdir)/future.xml \
9 $(srcdir)/client.xml $(srcdir)/zoom.xml $(srcdir)/credits.xml \
10 $(srcdir)/ztest-options.xml $(srcdir)/yaz-client-commands.xml
12 HTMLFILES = asn.external.html asn.html asn.oid.html asn.pdu.html \
13 asn.preparing.html client.commands.html client.html client.invoking.html \
14 client.searching.html comstack.addresses.html comstack.client.html \
15 comstack.common.html comstack.diagnostics.html comstack.html \
16 comstack.introduction.html comstack.server.html comstack.summary.html \
17 credits.html future.html indexdata.html installation.html \
18 installation.unix.html \
19 installation.win32.html introduction.html \
20 license.html license.other.html odr.debugging.html \
21 odr.html odr.programming.html odr.use.html server.backend.html \
22 server.backendfunctions.html server.frontend.html server.html \
23 server.invocation.html server.main.html tools.html tools.nmem.html \
24 tools.oid.html yaz.html zoom.events.html zoom.html \
25 zoom.options.html zoom.records.html zoom.resultsets.html zoom.query.html \
28 DOCFILES=$(HTMLFILES) yaz.pdf
29 MANFILES=yaz-client.1 yaz-client-ssl.1 yaz-ztest.8 \
30 yaz-ztest-ssl.8 yaz-config.1 yaz.7 zoomsh.1
31 REFFILES=yaz-client.sgml yaz-ztest.sgml yaz-config.sgml \
32 yaz-man.sgml zoomsh.sgml
34 SUPPORTFILES=yazhtml.dsl yazphp.dsl yazprint.dsl xml.dcl id.eps id.png
36 EXTRA_DIST = $(XMLFILES) $(SUPPORTFILES) $(DOCFILES) $(MANFILES) $(REFFILES)
38 doc_DATA = $(DOCFILES)
39 man_MANS = $(MANFILES)
41 yaz-client.1: yaz-client.sgml yaz-client-commands.xml
42 cd $(srcdir); docbook2man yaz-client.sgml
44 yaz-ztest.8: yaz-ztest.sgml ztest-options.xml
45 cd $(srcdir); docbook2man yaz-ztest.sgml
47 yaz-config.1: yaz-config.sgml
48 cd $(srcdir); docbook2man yaz-config.sgml
51 cd $(srcdir); docbook2man yaz-man.sgml
54 cd $(srcdir); docbook2man zoomsh.sgml
56 yaz-ztest-ssl.8: yaz-ztest.8
57 ln -s yaz-ztest.8 yaz-ztest-ssl.8
59 yaz-client-ssl.1: yaz-client.1
60 ln -s yaz-client.1 yaz-client-ssl.1
62 $(HTMLFILES): $(XMLFILES)
63 cd $(srcdir); jade -E14 -d yazhtml.dsl -t sgml xml.dcl yaz.xml
65 $(srcdir)/yaz.php: $(XMLFILES)
66 cd $(srcdir); jade -E14 -d yazphp.dsl -t sgml xml.dcl yaz.xml
68 $(srcdir)/yaz.pdf: $(XMLFILES)
69 cd $(srcdir); jade -d yazprint.dsl -t tex xml.dcl yaz.xml