[folks] Un-break distclean for the Telepathy test library



commit b126f693495bbaa6cbb22c0480d01aa8fdfae33d
Author: Travis Reitter <travis reitter collabora co uk>
Date:   Wed Nov 10 18:09:46 2010 -0800

    Un-break distclean for the Telepathy test library

 tests/lib/telepathy/contactlist/Makefile.am |   21 +++++++++------------
 1 files changed, 9 insertions(+), 12 deletions(-)
---
diff --git a/tests/lib/telepathy/contactlist/Makefile.am b/tests/lib/telepathy/contactlist/Makefile.am
index 50a3eb0..e5eab72 100644
--- a/tests/lib/telepathy/contactlist/Makefile.am
+++ b/tests/lib/telepathy/contactlist/Makefile.am
@@ -67,12 +67,10 @@ tp-test-contactlist.vapi: tp-test-contactlist.gir
 	$(AM_V_GEN)$(VAPIGEN) $(VAPIGENFLAGS) --library tp-test-contactlist \
 		tp-test-contactlist.gir
 
-BUILT_SOURCES =
-if HAVE_VALA
-BUILT_SOURCES += \
+BUILT_SOURCES = \
+	tp-test-contactlist.gir \
 	tp-test-contactlist.vapi \
 	$(NULL)
-endif
 
 CLEANFILES = \
 	_gen/param-spec-struct.h \
@@ -81,19 +79,18 @@ CLEANFILES = \
 	$(typelib_DATA) \
 	$(NULL)
 
-# XXX: theoretically, these shouldn't be here, but distcheck's final disclean
-# complains that these files exist at the end
-DISTCLEANFILES = \
+MAINTAINERCLEANFILES = \
+	$(BUILT_SOURCES) \
 	tp-test-contactlist.gir \
 	tp-test-contactlist.vapi \
 	$(NULL)
 
 EXTRA_DIST = \
-    tp-test-contactlist.vapi \
-    $(INTROSPECTION_GIRS) \
-    manager-file.py \
-    tp-test-contactlist.h \
-    $(NULL)
+	$(MAINTAINERCLEANFILES) \
+	manager-file.py \
+	session.conf \
+	tp-test-contactlist.h \
+	$(NULL)
 
 clean-local:
 	rm -rf _gen



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