From: Scott Cantor Date: Mon, 12 Sep 2011 17:08:08 +0000 (+0000) Subject: Stop building tests when disabled X-Git-Tag: 1.5.0~85 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-xmltooling.git;a=commitdiff_plain;h=0aa41b651c737c150074f51a209820f155ef0143 Stop building tests when disabled --- 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 \