diff --git a/lib/functions.in b/lib/functions.in index 8374d55..93b7298 100644 --- a/lib/functions.in +++ b/lib/functions.in @@ -932,6 +932,16 @@ build_this_package() { pyconfopt="${pyconfopt:=--prefix $root/$prefix}" hook_eval premake eval ${pyscript:-python} setup.py build install $pyconfopt + hook_eval postmake + elif [ -f install.rb ] ; then + hook_eval premake + ${rubyscript:-ruby} install.rb + + hook_eval postmake + elif [ -f Rakefile ] ; then + hook_eval premake + eval rake package + hook_eval postmake else # styles that include a make run if [ ! -f Makefile -a ! -f makefile -a \