From 0aa41b651c737c150074f51a209820f155ef0143 Mon Sep 17 00:00:00 2001 From: Scott Cantor Date: Mon, 12 Sep 2011 17:08:08 +0000 Subject: [PATCH] Stop building tests when disabled --- xmltoolingtest/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xmltoolingtest/Makefile.am b/xmltoolingtest/Makefile.am index 8e56618..9ad2b45 100644 --- a/xmltoolingtest/Makefile.am +++ b/xmltoolingtest/Makefile.am @@ -49,9 +49,10 @@ noinst_HEADERS = \ nodist_xmltoolingtest_SOURCES = $(xmltoolingtest_h:.h=.cpp) +if BUILD_UNITTEST BUILT_SOURCES = $(nodist_xmltoolingtest_SOURCES) - CLEANFILES = $(nodist_xmltoolingtest_SOURCES) +endif do-cxxtestgen: if test "$(CPPFILE)" = "xmltoolingtest.cpp"; then \ -- 2.1.4