From f77ccb30e8552944614525526bcad5e1187aed6c Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Tue, 27 May 2008 17:20:37 +0000 Subject: Generate code in $builddir to allow multiple VPATH builds. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@660616 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/rubygen/generate | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'qpid/cpp/rubygen/generate') diff --git a/qpid/cpp/rubygen/generate b/qpid/cpp/rubygen/generate index c025c946c7..9acbd4fe83 100755 --- a/qpid/cpp/rubygen/generate +++ b/qpid/cpp/rubygen/generate @@ -71,7 +71,7 @@ if makefile rgen_srcs=GenFiles.get.map{ |f| "#{$outdir}/#{f}" } rgen_subdirs={} rgen_srcs.each { |src| - if src.match(%r{./gen/qpid/([^/]+)/}) + if src.match(%r{#{$outdir}/qpid/([^/]+)/}) subdir=$1 rgen_subdirs[subdir] ||= [] rgen_subdirs[subdir] << src @@ -102,15 +102,6 @@ dist_#{dir_}_HEADERS = #{make_continue rgen_srcs.grep(regex)} EOS } - out << <