diff --git a/bindings/Makefile.am b/bindings/Makefile.am
index 96bf37dd238b1d60d4d8645bffa5a55571bc4eb7..1bac87cd8773f916c459c8790f9b30a24bf24c31 100644 (file)
--- a/bindings/Makefile.am
+++ b/bindings/Makefile.am
# rules for buildung the ruby module
ruby: ruby/Makefile
- cd ruby && $(MAKE) EPREFIX=$(exec_prefix) $(RUBY_MAKE_OPTIONS)
+ cd ruby && $(RUBY) extconf.rb && $(MAKE) EPREFIX=$(exec_prefix) $(RUBY_MAKE_OPTIONS)
-ruby/Makefile: ruby/extconf.rb
- cd ruby && $(RUBY) extconf.rb
-
# rules for building the perl module
perl_piped: perl-piped/Makefile
cd perl-piped && $(MAKE)