Fix for DIST files.
[yaz-moved-to-github.git] / doc / Makefile.am
1 ## $Id: Makefile.am,v 1.19 2001-10-24 20:27:00 adam Exp $
2
3 docdir=$(pkgdatadir)/doc
4
5 XMLFILES=$(srcdir)/yaz.xml $(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
10
11 HTMLFILES = asn.external.html asn.html asn.oid.html asn.pdu.html \
12  asn.preparing.html client.commands.html client.html client.invoking.html \
13  client.searching.html comstack.addresses.html comstack.client.html \
14  comstack.common.html comstack.diagnostics.html comstack.html \
15  comstack.introduction.html comstack.server.html comstack.summary.html \
16  future.html indexdata.html installation.html installation.unix.html
17  installation.win32.html introduction.html \
18  license.html license.other.html odr.debugging.html \
19  odr.html odr.programming.html odr.use.html server.backend.html \
20  server.backendfunctions.html server.frontend.html server.html \
21  server.invocation.html server.main.html tools.html tools.nmem.html \
22  tools.oid.html yaz.html zoom.events.html zoom.html \
23  zoom.options.html zoom.records.html zoom.resultsets.html zoom.search.html
24
25 DOCFILES=$(XMLFILES) $(HTMLFILES) yaz.pdf
26
27 EXTRA_DIST = $(DOCFILES)
28
29 doc_DATA = $(DOCFILES)
30
31 $(srcdir)/yaz.html: $(XMLFILES) $(srcdir)/yazhtml.dsl
32         cd $(srcdir); jade -E14 -d yazhtml.dsl -t sgml xml.dcl yaz.xml
33
34 $(srcdir)/yaz.php: $(XMLFILES) $(srcdir)/yazphp.dsl
35         cd $(srcdir); jade -E14 -d yazphp.dsl -t sgml xml.dcl yaz.xml
36
37 $(srcdir)/yaz.pdf: $(srcdir)/yaz.tex
38         pdfjadetex yaz.tex
39         pdfjadetex yaz.tex
40         pdfjadetex yaz.tex
41
42 $(srcdir)/yaz.tex: $(XMLFILES) $(srcdir)/yazprint.dsl
43         cd $(srcdir); jade -d yazprint.dsl -t tex xml.dcl yaz.xml