[Libguestfs] [PATCH 3/6] out-of-tree build: let's just try that trick again for the Ruby bindings.

Hilko Bengen bengen at hilluzination.de
Sun Aug 14 08:58:10 UTC 2011


---
 ruby/Makefile.am |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/ruby/Makefile.am b/ruby/Makefile.am
index a2e962d..872dad6 100644
--- a/ruby/Makefile.am
+++ b/ruby/Makefile.am
@@ -52,6 +52,7 @@ TESTS_ENVIRONMENT = \
 	TMPDIR=$(top_builddir)
 
 all: $(generator_built)
+	-[ $(srcdir) != $(builddir) ] && cp -rsu $(abs_srcdir)/. $(builddir)/.
 	rake build
 	rake rdoc
 
-- 
1.7.5.4




More information about the Libguestfs mailing list