summaryrefslogtreecommitdiff
path: root/cpp
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
commite6f8984d1ad2168f5ef146172de51ca654996f6a (patch)
tree07fe971b20dc7a9940c003038c880b3e68ce0583 /cpp
parent22ef0be441cd0f12b1ca6402f397deac390ce4d0 (diff)
downloadqpid-python-e6f8984d1ad2168f5ef146172de51ca654996f6a.tar.gz
Make sure abs_srcdir is defined (for older automake versions)
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@602984 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
-rw-r--r--cpp/examples/Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/cpp/examples/Makefile.am b/cpp/examples/Makefile.am
index 9bd8376644..1e0693ef6e 100644
--- a/cpp/examples/Makefile.am
+++ b/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