diff options
author | Alan Conway <aconway@apache.org> | 2008-05-27 17:20:37 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2008-05-27 17:20:37 +0000 |
commit | f77ccb30e8552944614525526bcad5e1187aed6c (patch) | |
tree | ea994db6662b143d2684803ef9c6c9bd02177805 /qpid/cpp/rubygen | |
parent | 5107e09fed3c384d21ed9c8918bbb12726c810bd (diff) | |
download | qpid-python-f77ccb30e8552944614525526bcad5e1187aed6c.tar.gz |
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
Diffstat (limited to 'qpid/cpp/rubygen')
-rwxr-xr-x | qpid/cpp/rubygen/generate | 11 |
1 files changed, 1 insertions, 10 deletions
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 << <<EOS -if GENERATE -$(srcdir)/#{File.basename makefile}: $(rgen_generator) $(specs) - $(rgen_cmd) - -# Empty rule in case a generator file is renamed/removed. -$(rgen_generator): -endif -EOS } end |