From: Scott Cantor Date: Mon, 12 Sep 2011 17:09:44 +0000 (+0000) Subject: Stop building tests when disabled X-Git-Tag: 2.5.0~71 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-opensaml.git;a=commitdiff_plain;h=fd5d0ccba1ddfe97d384f1f0f098348094f6331c Stop building tests when disabled --- diff --git a/samltest/Makefile.am b/samltest/Makefile.am index 0dc3ee6..0209c14 100644 --- a/samltest/Makefile.am +++ b/samltest/Makefile.am @@ -105,9 +105,10 @@ noinst_HEADERS = \ nodist_samltest_SOURCES = $(samltest_h:.h=.cpp) +if BUILD_UNITTEST BUILT_SOURCES = $(nodist_samltest_SOURCES) - CLEANFILES = $(nodist_samltest_SOURCES) +endif do-cxxtestgen: if test "$(CPPFILE)" = "samltest.cpp"; then \