X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=ruby%2FMakefile.am;h=82d130dd6c7c19574cb8890fb0fa62b06d727928;hp=9ee0ae50bdcceb3ba67294be78581e44c30bbb8f;hb=204d54609b4b3e4ca637f0ce2fe98c33ce9d008b;hpb=41b959fd9b057354f642d84398b875d02b88b864;ds=sidebyside diff --git a/ruby/Makefile.am b/ruby/Makefile.am index 9ee0ae5..82d130d 100644 --- a/ruby/Makefile.am +++ b/ruby/Makefile.am @@ -15,11 +15,18 @@ # 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 \ tests/tc_*.rb @@ -35,9 +42,13 @@ CLEANFILES = \ if HAVE_RUBY -TESTS = run-ruby-tests +TESTS = run-bindtests run-ruby-tests + +TESTS_ENVIRONMENT = \ + 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