Document yaz_matchstr
[yaz-moved-to-github.git] / doc / Makefile.am
index d9332a4..72fb4b7 100644 (file)
@@ -1,4 +1,4 @@
-## $Id: Makefile.am,v 1.73 2006-09-07 10:01:50 adam Exp $
+## $Id: Makefile.am,v 1.75 2006-10-24 10:12:36 adam Exp $
 
 docdir=$(datadir)/doc/@PACKAGE@
 
@@ -80,8 +80,14 @@ dist-hook:
                cp $$p $(distdir); \
        done
 
+doc-clean:
+       rm -f *.html *.[0-9] *.pdf *.tkl
+
 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)