From b74b51d78ef73125f9bdc1964ace6308f4a4a06a Mon Sep 17 00:00:00 2001 From: scantor Date: Mon, 12 Sep 2011 17:09:44 +0000 Subject: [PATCH] Stop building tests when disabled git-svn-id: https://svn.shibboleth.net/cpp-opensaml/branches/REL_2@671 fb386ef7-a10c-0410-8ebf-fd3f8e989ab0 --- samltest/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 \ -- 2.1.4