[cpp-opensaml COMMIT] /branches/REL_2/samltest/Makefile.am

noreply at shibboleth.net noreply at shibboleth.net
Fri Aug 12 02:02:23 BST 2011


Author: scantor
Date: Fri Aug 12 02:02:23 2011
New Revision: 668

URL: http://svn.shibboleth.net/view/cpp-opensaml?rev=668&view=rev
Log:
Fix out of tree build of tests

Modified:
    branches/REL_2/samltest/Makefile.am

Modified: branches/REL_2/samltest/Makefile.am
URL: http://svn.shibboleth.net/view/cpp-opensaml/branches/REL_2/samltest/Makefile.am?rev=668&r1=667&r2=668&view=diff
==============================================================================
--- branches/REL_2/samltest/Makefile.am (original)
+++ branches/REL_2/samltest/Makefile.am Fri Aug 12 02:02:23 2011
@@ -98,16 +98,19 @@
     saml2/profile/SAML2PolicyTest.h
 
 noinst_HEADERS = \
-	binding.h \
+    binding.h \
     internal.h \
-    signature/SAMLSignatureTestBase.h
+    signature/SAMLSignatureTestBase.h \
+    $(samltest_h)
 
 nodist_samltest_SOURCES = $(samltest_h:.h=.cpp)
+
+BUILT_SOURCES = $(nodist_samltest_SOURCES)
 
 CLEANFILES = $(nodist_samltest_SOURCES)
 
 do-cxxtestgen:
-	if test $(HFILE) = "samltest.h"; then \
+	if test "$(CPPFILE)" = "samltest.cpp"; then \
 		$(CXXTEST) --error-printer --have-eh --have-std --abort-on-fail -o $(CPPFILE) $(HFILE); \
 	else \
 		$(CXXTEST) --part --have-eh --have-std --abort-on-fail -o $(CPPFILE) $(HFILE); \
@@ -118,4 +121,4 @@
 
 samltest_LDADD = $(top_builddir)/saml/libsaml.la
 
-EXTRA_DIST = samltest.vcxproj samltest.vcxproj.filters $(samltest_h) data
+EXTRA_DIST = samltest.vcxproj samltest.vcxproj.filters data



More information about the commits mailing list