From bb5d6e12c1e9aa59d562276a8c9454d58a1de5d5 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Thu, 10 Mar 2011 18:42:12 +0000 Subject: [PATCH] Implement uninstallation and cleanup for Doxygen docs, fixing distcheck --- doc/Makefile.am | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/doc/Makefile.am b/doc/Makefile.am index adac743..e8156c6 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -90,6 +90,13 @@ endif install-data-local:: doxygen.stamp $(MKDIR_P) $(DESTDIR)$(apidir) $(INSTALL_DATA) api/html/* $(DESTDIR)$(apidir) + +uninstall-local:: + rm -f $(DESTDIR)$(apidir)/*.html + rm -f $(DESTDIR)$(apidir)/*.png + rm -f $(DESTDIR)$(apidir)/*.css + rmdir --ignore-fail-on-non-empty $(DESTDIR)$(apidir) || \ + rmdir $(DESTDIR)$(apidir) endif if DBUS_HAVE_MAN2HTML @@ -143,6 +150,7 @@ clean-local: rm -rf api rm -rf dbus-docs rm -f *.1.html + rm -f doxygen.stamp maintainer-clean-local: rm -f $(HTML_FILES) -- 1.7.4.1