From: Adam Dickmeiss Date: Wed, 11 Oct 2006 09:39:44 +0000 (+0000) Subject: Fixed 'make distcheck'. Failed due to html files not being removed by X-Git-Tag: ZEBRA.2.0.6~96 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=7591739d6edc7bf66c47d712ffd955813895904b;p=idzebra-moved-to-github.git Fixed 'make distcheck'. Failed due to html files not being removed by uninstall. Added uinstall-hook for the doc directory. --- diff --git a/doc/Makefile.am b/doc/Makefile.am index 13cb161..62a17d9 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,4 +1,4 @@ -## $Id: Makefile.am,v 1.61 2006-09-07 10:02:29 adam Exp $ +## $Id: Makefile.am,v 1.62 2006-10-11 09:39:44 adam Exp $ docdir=$(datadir)/doc/$(PACKAGE)$(PACKAGE_SUFFIX) SUBDIRS = common @@ -104,3 +104,7 @@ install-data-hook: for p in $$d/*.html; do \ $(docDATA_INSTALL) $$p $(DESTDIR)/$(docdir); \ done + +uninstall-hook: + rm -r $(DESTDIR)/$(docdir) +