From e6f8984d1ad2168f5ef146172de51ca654996f6a Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Mon, 10 Dec 2007 18:21:11 +0000 Subject: 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 --- cpp/examples/Makefile.am | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cpp/examples') 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 -- cgit v1.2.1