[gvfs] tests: Fix distchecks



commit a63c5a932c59bf61c74871736df941685ae3e96e
Author: Alexander Larsson <alexl redhat com>
Date:   Fri Oct 12 11:47:55 2012 +0200

    tests: Fix distchecks
    
    We were not correctly handling srcdir != builddir, and
    we were not distcleaning some files.xg

 daemon/Makefile.am |    2 +-
 test/Makefile.am   |    6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/daemon/Makefile.am b/daemon/Makefile.am
index b7f1867..7d6e6af 100644
--- a/daemon/Makefile.am
+++ b/daemon/Makefile.am
@@ -133,7 +133,7 @@ EXTRA_DIST = 				\
 	$(gsettings_ENUM_FILES)		\
 	$(NULL)
 
-DISTCLEANFILES = gvfs-daemon.service $(mount_DATA)
+DISTCLEANFILES = gvfs-daemon.service $(mount_DATA) $(noinst_DATA)
 
 CLEANFILES =					\
 	$(gsettings__enum_file)			\
diff --git a/test/Makefile.am b/test/Makefile.am
index 3722c46..26977b5 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -62,9 +62,9 @@ endif
 
 noinst_DATA= $(CONFIG_FILES)
 
-test: session.conf gvfs-daemon.service gvfs-metadata.service
-	./run-in-tree.sh ./gvfs-test
+check: $(CONFIG_FILES) gvfs-test
+	$(srcdir)/run-in-tree.sh $(srcdir)/gvfs-test
 
 CLEANFILES=$(CONFIG_FILES)
 
-EXTRA_DIST = benchmark-common.c session.conf.in gvfs-test
+EXTRA_DIST = benchmark-common.c session.conf.in gvfs-test run-in-tree.sh



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