[f-spot] Make sure the conditional in tests is handled correctly.



commit 28562192561e41ff8ebc55a0f463833a6ab684a6
Author: Ruben Vermeersch <ruben savanne be>
Date:   Fri Jul 17 14:21:33 2009 +0200

    Make sure the conditional in tests is handled correctly.

 tests/Makefile.am     |    4 ----
 tests/src/Makefile.am |    9 +++++++--
 2 files changed, 7 insertions(+), 6 deletions(-)
---
diff --git a/tests/Makefile.am b/tests/Makefile.am
index c168055..92ea75a 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -1,9 +1,5 @@
-if ENABLE_TESTS
-
 SUBDIRS = \
 	src
 
-endif
-
 MAINTAINERCLEANFILES = \
 	Makefile.in
diff --git a/tests/src/Makefile.am b/tests/src/Makefile.am
index 5eac34b..cfe8d6b 100644
--- a/tests/src/Makefile.am
+++ b/tests/src/Makefile.am
@@ -1,5 +1,7 @@
 include $(top_srcdir)/Makefile.include
 
+if ENABLE_TESTS
+
 all: FSpot.Tests.dll
 
 SOURCES = 				\
@@ -31,8 +33,6 @@ REFS =										\
 	-r:$(top_srcdir)/src/Cms.dll			\
 	-r:$(top_srcdir)/lib/semweb/SemWeb.dll
 
-EXTRA_DIST =			\
-	$(SOURCES)
 
 RESOURCES =							\
 	-resource:$(top_srcdir)/icons/f-spot-32.png,f-spot-32.png
@@ -55,5 +55,10 @@ CLEANFILES =			\
 	TagTestStore.db		\
 	TestResult.xml
 
+endif
+
 MAINTAINERCLEANFILES = \
 	Makefile.in
+
+EXTRA_DIST =			\
+	$(SOURCES)



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