Rewrite windows compilation instructions. Add introductory chapter
[yazpp-moved-to-github.git] / doc / Makefile.am
1 ## $Id: Makefile.am,v 1.13 2004-03-31 18:28:05 adam Exp $
2 docdir=$(datadir)/doc/@PACKAGE@
3
4 SUPPORTFILES = \
5  yazhtml.dsl.in \
6  yazphp.dsl.in \
7  yazprint.dsl.in \
8  tkl.xsl.in \
9  xml.dcl
10 XMLFILES = \
11  introduction.xml \
12  installation.xml \
13  zoom.xml \
14  proxy.xml \
15  api.xml \
16  yaz-proxy-ref.xml \
17  yaz-proxy-man.sgml \
18  license.xml \
19  yaz++.xml.in
20  
21 TOP=yaz++.xml
22 MANFILES=yaz-proxy.8
23 HTMLFILES = \
24  api.html \
25  implementations.html \
26  installation.html \
27  introduction.html \
28  license.html \
29  other-optimizations.html \
30  otherinfo-encoding.html \
31  proxy-config-file.html \
32  proxy-keepalive.html \
33  proxy-target.html \
34  proxy-usage.html \
35  proxy.html \
36  query-cache.html \
37  query-validation.html \
38  record-cache.html \
39  record-validation.html \
40  windows.html \
41  yaz-proxy.html \
42  yaz.license.html \
43  yazpp.html \
44  zoom-connection.html \
45  zoom-exception.html \
46  zoom-query.html \
47  zoom-record.html \
48  zoom-resultset.html \
49  zoom.html
50
51 doc_DATA = $(HTMLFILES) yaz++.pdf id.png yaz.css
52
53 man_MANS = $(MANFILES)
54
55 EXTRA_DIST = $(SUPPORTFILES) $(XMLFILES) $(doc_DATA) $(man_MANS)
56
57 $(HTMLFILES): $(XMLFILES)
58         jade -E14 -D $(srcdir) -d yazhtml.dsl -t sgml $(srcdir)/xml.dcl $(TOP)
59
60 yaz-proxy.8: yaz-proxy-man.sgml yaz-proxy-ref.xml
61         docbook2man $(srcdir)/yaz-proxy-man.sgml
62
63 yazpp.php: $(XMLFILES)
64         jade -E14 -D $(srcdir) -d yazphp.dsl -t sgml $(srcdir)/xml.dcl $(TOP)
65
66 yaz++.pdf: $(XMLFILES)
67         if test ! -f id.png ; then ln -s $(srcdir)/id.png .; fi
68         jade -E14 -D $(srcdir) -d yazprint.dsl -t tex $(srcdir)/xml.dcl $(TOP)
69         pdfjadetex yaz++.tex >pdfjadetex.log 2>&1
70         pdfjadetex yaz++.tex >pdfjadetex.log 2>&1
71         pdfjadetex yaz++.tex >pdfjadetex.log 2>&1
72
73 index.tkl: $(XMLFILES) tkl.xsl
74         xsltproc tkl.xsl $(TOP)
75
76 clean-data-hook:
77         rm -f [0-9]* *.bak
78