+zoomsh.1: zoomsh-man.xml
+ $(MAN_COMPILE) $(srcdir)/zoomsh-man.xml
+
+yaz-asncomp.1: yaz-asncomp-man.xml
+ $(MAN_COMPILE) $(srcdir)/yaz-asncomp-man.xml
+
+yaz-marcdump.1: yaz-marcdump-man.xml
+ $(MAN_COMPILE) $(srcdir)/yaz-marcdump-man.xml
+
+yaz-iconv.1: yaz-iconv-man.xml
+ $(MAN_COMPILE) $(srcdir)/yaz-iconv-man.xml
+
+yaz-log.7: yaz-log-man.xml
+ $(MAN_COMPILE) $(srcdir)/yaz-log-man.xml
+
+$(HTMLFILES): $(XMLFILES)
+ rm -f *.html
+ $(HTML_COMPILE) $(srcdir)/yaz.xml
+
+index.tkl: $(XMLFILES)
+ rm -f *.tkl
+ $(TKL_COMPILE) $(srcdir)/yaz.xml
+
+yaz.pdf: $(XMLFILES)
+ if test ! -f common/id.png ; then cp $(srcdir)/common/id.png common; fi
+ if test ! -f apilayer.png ; then cp $(srcdir)/apilayer.png .; fi
+ jade -E14 -D $(srcdir) -d common/print.dsl -t tex $(srcdir)/common/xml.dcl $(srcdir)/yaz.xml
+ pdfjadetex yaz.tex
+ pdfjadetex yaz.tex >/dev/null
+ pdfjadetex yaz.tex >/dev/null
+
+apilayer.png:
+ tgif -print -xbm apilayer.obj
+ xbmtopbm <apilayer.xbm|pnmtopng >apilayer.png
+
+dist-hook:
+ if test -f index.html; then d=.; else d="$(srcdir)"; fi; \
+ for p in $$d/*.html; do \
+ cp $$p $(distdir); \
+ done
+
+install-data-hook:
+ if test -f index.html; then d=.; else d="$(srcdir)"; fi; \
+ for p in $$d/*.html; do \
+ $(docDATA_INSTALL) $$p $(DESTDIR)/$(docdir); \
+ done
+
+uninstall-hook:
+ rm -r $(DESTDIR)/$(docdir)