[gnome-keyring] Some 'make distcheck' fixes



commit f61b94d12cb84a4929e19cde812f0a1423380b6a
Author: Stef Walter <stefw gnome org>
Date:   Mon Jul 16 14:10:01 2012 +0200

    Some 'make distcheck' fixes

 daemon/dbus/tests/Makefile.am           |    3 +++
 daemon/dbus/tests/test-secret-signals.c |    2 +-
 2 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/daemon/dbus/tests/Makefile.am b/daemon/dbus/tests/Makefile.am
index 3b516e8..0cf22ac 100644
--- a/daemon/dbus/tests/Makefile.am
+++ b/daemon/dbus/tests/Makefile.am
@@ -4,6 +4,7 @@ INCLUDES = \
 	-I$(top_srcdir)/daemon/dbus \
 	-DSRCDIR="\"@abs_srcdir \"" \
 	-DTOP_SRCDIR="\"@abs_top_srcdir \"" \
+	-DTOP_BUILDDIR="\"@abs_top_builddir \"" \
 	-DGCR_API_SUBJECT_TO_CHANGE \
 	$(DAEMON_CFLAGS) \
 	$(GCR_BASE_CFLAGS) \
@@ -23,6 +24,8 @@ TEST_PROGS = \
 
 check_PROGRAMS = $(TEST_PROGS)
 
+EXTRA_DIST = files
+
 test: $(TEST_PROGS)
 	gtester --verbose -m $(TEST_MODE) --g-fatal-warnings $(TEST_PROGS)
 
diff --git a/daemon/dbus/tests/test-secret-signals.c b/daemon/dbus/tests/test-secret-signals.c
index 0a99ecb..e28c83d 100644
--- a/daemon/dbus/tests/test-secret-signals.c
+++ b/daemon/dbus/tests/test-secret-signals.c
@@ -291,7 +291,7 @@ setup (Test *test,
 	GVariant *output;
 
 	gchar *args[] = {
-		TOP_SRCDIR "/daemon/gnome-keyring-daemon",
+		TOP_BUILDDIR "/daemon/gnome-keyring-daemon",
 		"--foreground",
 		"--control-directory",
 		"/tmp/keyring-test",



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