Methods

Class Index [+]

Quicksearch

Gem::Ext::ConfigureBuilder

Public Class Methods

build(extension, directory, dest_path, results) click to toggle source
    # File lib/rubygems/ext/configure_builder.rb, line 11
11:   def self.build(extension, directory, dest_path, results)
12:     unless File.exist?('Makefile') then
13:       cmd = "sh ./configure --prefix=#{dest_path}"
14:       cmd << " #{Gem::Command.build_args.join ' '}" unless Gem::Command.build_args.empty?
15: 
16:       run cmd, results
17:     end
18: 
19:     make dest_path, results
20: 
21:     results
22:   end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.