[next] telepathy-glib: Clean up generated test files in "make clean"

Simon McVittie smcv at kemper.freedesktop.org
Tue Mar 25 03:45:56 PDT 2014


Module: telepathy-glib
Branch: next
Commit: 98973e409eedd7200357d5d3aab89e7a2c242eba
URL:    http://cgit.freedesktop.org/telepathy/telepathy-glib/commit/?id=98973e409eedd7200357d5d3aab89e7a2c242eba

Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date:   Thu Mar 20 11:48:55 2014 +0000

Clean up generated test files in "make clean"

---

 tests/dbus/Makefile.am |    9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/tests/dbus/Makefile.am b/tests/dbus/Makefile.am
index 2f82aa8..8ec618c 100644
--- a/tests/dbus/Makefile.am
+++ b/tests/dbus/Makefile.am
@@ -57,6 +57,8 @@ tests_list = \
     test-tls-certificate \
     test-unsupported-interface
 
+CLEANFILES =
+
 if ENABLE_INSTALLED_TESTS
 managersdir = @tpglibtestsdir@/telepathy-1/managers/
 managers_DATA = \
@@ -69,6 +71,10 @@ testsdir = @tpglibtestsdir@
 tests_PROGRAMS = $(tests_list)
 tests_SCRIPTS = run-test.sh
 tests_DATA = tpglib-dbus-tests.list
+CLEANFILES += \
+	$(tests_DATA) \
+	$(tests_SCRIPTS) \
+	$(NULL)
 else
 noinst_PROGRAMS = $(tests_list)
 endif
@@ -314,8 +320,7 @@ BUILT_SOURCES = \
 	run-test.sh \
 	$(NULL)
 
-CLEANFILES = \
-    $(BUILT_SOURCES)
+CLEANFILES += $(BUILT_SOURCES)
 
 distclean-local:
 	rm -f capture-*.log



More information about the telepathy-commits mailing list