- cd perl-piped && test -f Makefile && $(MAKE) install || true
- cd perl-shared && test -f Makefile && $(MAKE) install || true
+ test -f perl-piped/Makefile && cd perl-piped && $(MAKE) install || true
+ test -f perl-shared/Makefile && cd perl-shared && $(MAKE) install || true
+ test -f ruby/Makefile && cd ruby && $(MAKE) EPREFIX=$(exec_prefix) $(RUBY_MAKE_OPTIONS) install || true
+
+# rules for buildung the ruby module
+ruby: ruby/Makefile
+ cd ruby && $(MAKE) EPREFIX=$(exec_prefix) $(RUBY_MAKE_OPTIONS)