Ruby / SWIG -- facility for finding local installation details

from http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/17662


RUBYINCDIR=  $(shell ruby -e "require 'rbconfig'; puts Config::CONFIG['includedir']")
RUBYLIBS=   $(shell ruby -e "require 'rbconfig'; puts Config::CONFIG['LIBS']")
RUBYLIBDIR=   $(shell ruby -e "require 'rbconfig'; puts Config::CONFIG['libdir']")

Received on Thursday, 25 April 2002 11:13:18 UTC