1 ## $Id: Makefile.am,v 1.18 2007-07-10 09:42:09 adam Exp $
14 TOP = $(srcdir)/yazproxy.xml
18 HTMLFILES = index.html
20 doc_DATA = $(HTMLFILES)
22 man_MANS = $(MANFILES)
24 EXTRA_DIST = $(XMLFILES) $(doc_DATA) $(man_MANS) entities.ent local.ent
26 $(HTMLFILES): $(XMLFILES)
28 $(HTML_COMPILE) $(TOP)
30 yazproxy.8: yaz-proxy-man.xml yaz-proxy-ref.xml
31 $(MAN_COMPILE) $(srcdir)/yaz-proxy-man.xml
33 index.tkl: $(XMLFILES)
36 yazproxy.pdf: $(XMLFILES)
37 if test ! -f common/id.png ; then cp $(srcdir)/common/id.png common; fi
38 jade -E14 -D $(srcdir) -d common/print.dsl -t tex $(srcdir)/common/xml.dcl $(TOP)
39 pdfjadetex yazproxy.tex >pdfjadetex.log 2>&1
40 pdfjadetex yazproxy.tex >pdfjadetex.log 2>&1
41 pdfjadetex yazproxy.tex >pdfjadetex.log 2>&1
47 if test -f index.html; then d=.; else d="$(srcdir)"; fi; \
48 for p in $$d/*.html; do \
53 if test -f index.html; then d=.; else d="$(srcdir)"; fi; \
54 for p in $$d/*.html; do \
55 $(docDATA_INSTALL) $$p $(DESTDIR)$(docdir); \
59 rm -r $(DESTDIR)$(docdir)