Build Require yazpp 1.1.1
[yazproxy-moved-to-github.git] / doc / Makefile.am
index 387eb91..e0c3f66 100644 (file)
@@ -1,6 +1,3 @@
-## $Id: Makefile.am,v 1.14 2006-09-07 10:06:56 adam Exp $
-docdir=$(datadir)/doc/@PACKAGE@
-
 SUBDIRS = common
 
 XMLFILES = \
@@ -32,10 +29,9 @@ $(HTMLFILES): $(XMLFILES)
 yazproxy.8: yaz-proxy-man.xml yaz-proxy-ref.xml
        $(MAN_COMPILE) $(srcdir)/yaz-proxy-man.xml
 
-index.tkl: $(XMLFILES) common/tkl.xsl
+index.tkl: $(XMLFILES)
        $(TKL_COMPILE) $(TOP)
 
-
 yazproxy.pdf: $(XMLFILES)
        if test ! -f common/id.png ; then cp $(srcdir)/common/id.png common; fi
        jade -E14 -D $(srcdir) -d common/print.dsl -t tex $(srcdir)/common/xml.dcl $(TOP)
@@ -55,5 +51,8 @@ dist-hook:
 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); \
+               $(docDATA_INSTALL) $$p $(DESTDIR)$(docdir); \
        done
+
+uninstall-hook:
+       rm -r $(DESTDIR)$(docdir)