Browse Source

* Install lib/caca.rb

tags/v0.99.beta14
Pascal Terjan pterjan 17 years ago
parent
commit
4a7c10f7b3
3 changed files with 5 additions and 1 deletions
  1. +2
    -0
      configure.ac
  2. +2
    -0
      ruby/Makefile.am
  3. +1
    -1
      ruby/test

+ 2
- 0
configure.ac View File

@@ -338,10 +338,12 @@ if test "${enable_ruby}" != "no"; then
if test "${RUBY}" != "no"; then
RUBY_ARCHDIR=`ruby -r rbconfig -e 'print Config::CONFIG@<:@"archdir"@:>@'`
RUBY_SITEARCHDIR=`ruby -r rbconfig -e 'print Config::CONFIG@<:@"sitearchdir"@:>@'`
RUBY_SITELIBDIR=`ruby -r rbconfig -e 'print Config::CONFIG@<:@"sitelibdir"@:>@'`
RUBY_LIBDIR=`ruby -r rbconfig -e 'print Config::CONFIG@<:@"libdir"@:>@'`
RUBY_SO_NAME=`ruby -r rbconfig -e 'print Config::CONFIG@<:@"RUBY_SO_NAME"@:>@'`
AC_SUBST(RUBY_ARCHDIR)
AC_SUBST(RUBY_SITEARCHDIR)
AC_SUBST(RUBY_SITELIBDIR)
AC_SUBST(RUBY_LIBDIR)
AC_SUBST(RUBY_SO_NAME)
AC_CHECK_HEADERS($RUBY_ARCHDIR/ruby.h, [ac_cv_my_have_ruby="yes"])


+ 2
- 0
ruby/Makefile.am View File

@@ -1,8 +1,10 @@
# $Id: $
rubylibdir=$(RUBY_SITEARCHDIR)
rubysitedir=$(RUBY_SITELIBDIR)

if USE_RUBY
rubylib_LTLIBRARIES = caca.la cucul.la
rubysite_DATA = lib/caca.rb
TESTS = test
endif



+ 1
- 1
ruby/test View File

@@ -1,4 +1,4 @@
#!/usr/bin/ruby -I.libs
#!/usr/bin/ruby -Ilib -I.libs

require 'test/unit'
Dir.glob("t/tc*.rb").each{ |t|


Loading…
Cancel
Save