You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by gs...@apache.org on 2008/08/19 23:04:36 UTC
svn commit: r687156 - in /incubator/qpid/branches/qpid.0-10/cpp:
etc/Makefile.am examples/Makefile.am src/tests/Makefile.am
Author: gsim
Date: Tue Aug 19 14:04:35 2008
New Revision: 687156
URL: http://svn.apache.org/viewvc?rev=687156&view=rev
Log:
Build tweaks for distcheck:
* ensure examples dirs are writable so executables can be compiled
* cleanup files on distclean
Modified:
incubator/qpid/branches/qpid.0-10/cpp/etc/Makefile.am
incubator/qpid/branches/qpid.0-10/cpp/examples/Makefile.am
incubator/qpid/branches/qpid.0-10/cpp/src/tests/Makefile.am
Modified: incubator/qpid/branches/qpid.0-10/cpp/etc/Makefile.am
URL: http://svn.apache.org/viewvc/incubator/qpid/branches/qpid.0-10/cpp/etc/Makefile.am?rev=687156&r1=687155&r2=687156&view=diff
==============================================================================
--- incubator/qpid/branches/qpid.0-10/cpp/etc/Makefile.am (original)
+++ incubator/qpid/branches/qpid.0-10/cpp/etc/Makefile.am Tue Aug 19 14:04:35 2008
@@ -9,7 +9,7 @@
if HAVE_SASL
SASL_DB = qpidd.sasldb
-
+DISTCLEANFILES=$(SASL_DB)
nobase_sysconf_DATA += \
$(SASL_CONF)
Modified: incubator/qpid/branches/qpid.0-10/cpp/examples/Makefile.am
URL: http://svn.apache.org/viewvc/incubator/qpid/branches/qpid.0-10/cpp/examples/Makefile.am?rev=687156&r1=687155&r2=687156&view=diff
==============================================================================
--- incubator/qpid/branches/qpid.0-10/cpp/examples/Makefile.am (original)
+++ incubator/qpid/branches/qpid.0-10/cpp/examples/Makefile.am Tue Aug 19 14:04:35 2008
@@ -61,9 +61,12 @@
# Build the examples - copy sources to the build tree in VPATH build.
all-local:
- test -d examples || cp -R $(srcdir)/examples .
+ test -d examples || cp -R $(srcdir)/examples . && chmod +w -R examples
cd examples && $(MAKE) CXX="$(CXX)" CXXFLAGS="$(CXXFLAGS) -I$(abs_top_srcdir)/src -I$(abs_top_srcdir)/src/gen -I$(abs_top_builddir)/src -I$(abs_top_builddir)/src/gen -L$(abs_top_builddir)/src/.libs -Wl,-rpath,$(abs_top_builddir)/src/.libs" all
+distclean-local:
+ rm -rf examples
+
if !HAVE_XML
exclude_examples_regexp="xml" # Exclude XML examples.
endif
Modified: incubator/qpid/branches/qpid.0-10/cpp/src/tests/Makefile.am
URL: http://svn.apache.org/viewvc/incubator/qpid/branches/qpid.0-10/cpp/src/tests/Makefile.am?rev=687156&r1=687155&r2=687156&view=diff
==============================================================================
--- incubator/qpid/branches/qpid.0-10/cpp/src/tests/Makefile.am (original)
+++ incubator/qpid/branches/qpid.0-10/cpp/src/tests/Makefile.am Tue Aug 19 14:04:35 2008
@@ -143,6 +143,7 @@
libdlclose_noop_la_SOURCES = dlclose_noop.c
CLEANFILES+=valgrind.out *.log *.vglog* dummy_test $(unit_wrappers)
+DISTCLEANFILES=.valgrind.supp .valgrindrc
# FIXME aconway 2008-05-23: Disabled interop_runner because it uses
# the obsolete Channel class. Convert to Session and re-enable.