summaryrefslogtreecommitdiff
path: root/qpid/cpp/examples
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2007-12-10 18:21:11 +0000
committerAlan Conway <aconway@apache.org>2007-12-10 18:21:11 +0000
commit228e12dddd4287d0f333b211b4b095a2e11da9a1 (patch)
tree4b68b14198e75b55c293d1583273ff3b3355cc09 /qpid/cpp/examples
parentef19d923c46c43e937f1d4dd91c906bda08d64bd (diff)
downloadqpid-python-228e12dddd4287d0f333b211b4b095a2e11da9a1.tar.gz
Make sure abs_srcdir is defined (for older automake versions)
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@602984 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/examples')
-rw-r--r--qpid/cpp/examples/Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/qpid/cpp/examples/Makefile.am b/qpid/cpp/examples/Makefile.am
index 9bd8376644..1e0693ef6e 100644
--- a/qpid/cpp/examples/Makefile.am
+++ b/qpid/cpp/examples/Makefile.am
@@ -20,12 +20,15 @@ nobase_pkgdata_DATA= \
EXTRA_DIST=$(nobase_pkgdata_DATA)
+
# Note: we don't use normal automake SUBDIRS because the example
# makefiles don't understand all the recursive automake targets.
clean:
cd examples; $(MAKE) clean
+abs_srcdir=@abs_srcdir@
+
# Build the installed examples, then clean up to avoid rpmbuild warnings.
EXAMPLE_FLAGS=-I$(DESTDIR)$(includedir) -L$(DESTDIR)$(libdir) -Wl,-rpath,$(DESTDIR)$(libdir)
EXAMPLE_DIR=$(DESTDIR)$(pkgdatadir)/examples