Changeset 1090 for trunk/lang/ruby


Ignore:
Timestamp:
Aug 4, 2008 5:51:37 PM (14 years ago)
Author:
gah
Message:

various fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lang/ruby/Makefile.in

    r1087 r1090  
    2323RUBY_VERSION_RV = @RUBY_VERSION_RV@
    2424RUBY_PLATFORM   = @RUBY_PLATFORM@
    25 destsuffix      = $(RUBY_VERSION_RV)/$(RUBY_PLATFORM)
    26 destdir         = $(libdir)/ruby/site_ruby/$(destsuffix)
    27 rubydir         = $$RAPPTURE_INSTALL_DIR/lib/ruby/site_ruby/$(destsuffix)
     25destdir         = $(libdir)/ruby
     26rubydir         = $$RAPPTURE_INSTALL_DIR/lib/ruby
     27envfile         = _ruby.env
    2828
    2929CXX             = @CXX@
     
    6767lib             = Rappture$(SOEXT)
    6868
    69 all: $(lib) ruby.env
     69all: $(lib) $(envfile)
    7070
    7171$(lib): $(OBJS)
    7272        $(SHLIB_LD) $(SHLIB_LDFLAGS) -o $@ $(OBJS) \
    7373                $(LIB_SEARCH_DIRS) $(LIBS)
    74 install: $(lib) ruby.env
     74install: $(lib) $(envfile)
    7575        $(MKDIR_P) $(destdir)
    7676        $(INSTALL) -m 555 $(lib) $(destdir)
    77         $(INSTALL) -m 555 ruby.env $(bindir)
     77        $(INSTALL) -m 555 $(envfile) $(bindir)
    7878
    7979clean:
     
    8181
    8282distclean: clean
    83         $(RM) Makefile *~ build.rb ruby.env
     83        $(RM) Makefile *~ build.rb $(envfile)
    8484
    8585Makefile.ruby: build.rb
     
    9191        $(CC) $(CC_SWITCHES)-c $?
    9292
    93 ruby.env:
    94         echo 'export RUBYLIB=$(rubydir):$$RUBYLIB' > ruby.env
     93$(envfile):
     94        echo 'export RUBYLIB=$(rubydir):$$RUBYLIB' > $(envfile)
    9595
    9696old: Makefile.ruby
Note: See TracChangeset for help on using the changeset viewer.