[PATCH] Fix the 'distclean' target.

Ralph Giles giles at mozilla.com
Fri Jan 18 14:04:27 PST 2013


Generated documentation needs to be removed by this target
for 'distcheck' to succeed.
---
 doc/Makefile.am      | 2 +-
 doc/html/Makefile.am | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/doc/Makefile.am b/doc/Makefile.am
index 67703e9..54ec270 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -38,5 +38,5 @@ doc_DATA = \
 
 EXTRA_DIST = Doxyfile.in Makefile.lite doxygen.footer.html doxygen.header.html $(doc_DATA)
 
-maintainer-clean-local:
+distclean-local:
 	rm -rf FLAC.tag html/api doxytmp
diff --git a/doc/html/Makefile.am b/doc/html/Makefile.am
index 2b06aab..5fd97cc 100644
--- a/doc/html/Makefile.am
+++ b/doc/html/Makefile.am
@@ -75,6 +75,6 @@ install-data-local:
 	(cd $(builddir)/api && $(INSTALL_DATA) * $(DESTDIR)$(docdir)/api)
 uninstall-local:
 	rm -rf $(DESTDIR)$(docdir)/api
-maintainer-clean-local:
-	rm -rf api
+distclean-local:
+	-rm -rf api
 endif
-- 
1.7.11.7


--------------010202060907060708050809--


More information about the flac-dev mailing list