X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=ruby%2FMakefile.am;h=82d130dd6c7c19574cb8890fb0fa62b06d727928;hp=389399fc27754f594373aa4ae4a477e8798f3ea6;hb=641ccab6c3b17f1c94676eab99e8baa9cddf5a0b;hpb=a3d4d655ffdd335372051c14ca53e8664ff799eb diff --git a/ruby/Makefile.am b/ruby/Makefile.am index 389399f..82d130d 100644 --- a/ruby/Makefile.am +++ b/ruby/Makefile.am @@ -15,14 +15,19 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +include $(top_srcdir)/subdir-rules.mk + +generator_built = \ + ext/guestfs/_guestfs.c \ + bindtests.rb + EXTRA_DIST = \ + $(generator_built) \ Rakefile.in \ - ext/guestfs/_guestfs.c \ ext/guestfs/extconf.rb \ lib/guestfs.rb \ run-bindtests \ run-ruby-tests \ - bindtests.rb \ tests/tc_*.rb CLEANFILES = \ @@ -40,10 +45,10 @@ if HAVE_RUBY TESTS = run-bindtests run-ruby-tests TESTS_ENVIRONMENT = \ - LD_LIBRARY_PATH=../src/.libs \ - LIBGUESTFS_PATH=../appliance + LD_LIBRARY_PATH=$(top_builddir)/src/.libs \ + LIBGUESTFS_PATH=$(top_builddir)/appliance -all: +all: $(generator_built) rake build -endif \ No newline at end of file +endif