Code

prepare for the release of rrdtool-1.2.16
[rrdtool.git] / bindings / Makefile.am
index 96bf37dd238b1d60d4d8645bffa5a55571bc4eb7..1bac87cd8773f916c459c8790f9b30a24bf24c31 100644 (file)
@@ -23,11 +23,8 @@ install-data-local:
 
 # 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)