Tell automake to clean the doxygen output.
authorRalph Giles <giles@mozilla.com>
Wed, 7 Sep 2011 18:18:23 +0000 (11:18 -0700)
committerRalph Giles <giles@mozilla.com>
Wed, 7 Sep 2011 18:18:23 +0000 (11:18 -0700)
Without the extra clean, 'make distcheck' fails because
the distclean target doesn't remove all generated files.

doc/Makefile.am

index 7e72e11..3b135dd 100644 (file)
@@ -18,3 +18,10 @@ doxygen-build.stamp: Doxyfile $(DOCINPUTS)
        @echo "*** Warning: Doxygen not found; API documentation will not be built."
        touch $@
 endif
+
+# delete doxygen subdirs
+clean-local:
+       -rm -rf html
+       -rm -rf latex
+       -rm -rf man
+       -rm doxygen-build.stamp