diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2011-03-10 18:42:12 +0000 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2011-03-10 19:00:23 +0000 |
commit | 23d4a2ec5d065cde06b265d8d0ef34e8d856effa (patch) | |
tree | b31a5046c7433132dbac13fc31eb2a7d8c422b1d | |
parent | 4012b009557fe8796a8e5d343548821c70322dd3 (diff) |
Implement uninstallation and cleanup for Doxygen docs, fixing distcheck
Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
-rw-r--r-- | doc/Makefile.am | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am index adac743c..e8156c6b 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) |