Sfoglia il codice sorgente

* Install lib/caca.rb

tags/v0.99.beta14
Pascal Terjan pterjan 17 anni fa
parent
commit
4a7c10f7b3
3 ha cambiato i file con 5 aggiunte e 1 eliminazioni
  1. +2
    -0
      configure.ac
  2. +2
    -0
      ruby/Makefile.am
  3. +1
    -1
      ruby/test

+ 2
- 0
configure.ac Vedi 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 Vedi 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 Vedi 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|


Caricamento…
Annulla
Salva