remove make dependancy to prevent re-build on Redhat w/o docbook
[yaz-moved-to-github.git] / doc / Makefile.am
1 ## $Id: Makefile.am,v 1.29 2002-03-23 21:13:20 adam Exp $
2
3 docdir=$(pkgdatadir)/doc
4
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
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  credits.html future.html indexdata.html installation.html \
17  installation.unix.html \
18  installation.win32.html introduction.html \
19  license.html license.other.html odr.debugging.html \
20  odr.html odr.programming.html odr.use.html server.backend.html \
21  server.backendfunctions.html server.frontend.html server.html \
22  server.invocation.html server.main.html tools.html tools.nmem.html \
23  tools.oid.html yaz.html zoom.events.html zoom.html \
24  zoom.options.html zoom.records.html zoom.resultsets.html zoom.query.html \
25  zoom.scan.html
26
27 DOCFILES=$(HTMLFILES) yaz.pdf
28
29 SUPPORTFILES=yazhtml.dsl yazphp.dsl yazprint.dsl xml.dcl
30
31 EXTRA_DIST = $(XMLFILES) $(SUPPORTFILES) $(DOCFILES)
32
33 doc_DATA = $(DOCFILES)
34
35 $(HTMLFILES): $(XMLFILES) 
36         cd $(srcdir); jade -E14 -d yazhtml.dsl -t sgml xml.dcl yaz.xml
37
38 $(srcdir)/yaz.php: $(XMLFILES)
39         cd $(srcdir); jade -E14 -d yazphp.dsl -t sgml xml.dcl yaz.xml
40
41 $(srcdir)/yaz.pdf: $(XMLFILES)
42         cd $(srcdir); jade -d yazprint.dsl -t tex xml.dcl yaz.xml
43         pdfjadetex yaz.tex
44         pdfjadetex yaz.tex
45         pdfjadetex yaz.tex