Pārlūkot izejas kodu

* Install lib/caca.rb

tags/v0.99.beta14
Pascal Terjan pterjan pirms 17 gadiem
vecāks
revīzija
4a7c10f7b3
3 mainītis faili ar 5 papildinājumiem un 1 dzēšanām
  1. +2
    -0
      configure.ac
  2. +2
    -0
      ruby/Makefile.am
  3. +1
    -1
      ruby/test

+ 2
- 0
configure.ac Parādīt failu

@@ -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 Parādīt failu

@@ -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 Parādīt failu

@@ -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|


Notiek ielāde…
Atcelt
Saglabāt