[folks] Centralize definition of doc dirs to distclean.



commit e12c911c050b1b2c77ef51323535d21672056f2a
Author: Travis Reitter <travis reitter collabora co uk>
Date:   Mon Aug 1 14:45:17 2011 -0700

    Centralize definition of doc dirs to distclean.

 docs/Makefile.am |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/docs/Makefile.am b/docs/Makefile.am
index 57a59a7..5306c74 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -1,3 +1,9 @@
+distclean_dirs = \
+	folks \
+	folks-telepathy \
+	gtk-doc \
+	$(NULL)
+
 folksdocdir=$(datadir)/devhelp/references/folks
 folksimgdir=$(datadir)/devhelp/references/folks/img
 folkstelepathydocdir=$(datadir)/devhelp/references/folks-telepathy
@@ -117,9 +123,7 @@ folks-telepathy-gtk-doc: $(folks_telepathy_doc_files)
 
 distclean-local: distclean-docs
 distclean-docs:
-	rm -rf folks && \
-	rm -rf folks-telepathy && \
-	rm -rf gtk-doc
+	rm -rf $(distclean_dirs)
 
 GITIGNOREFILES = \
 	folks/ \



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]