mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	* ext/extmk.rb (extract_makefile): follow the change of
install-rb-default line format at r28850, which causes second run to create dummy makefiles. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									c53664c84d
								
							
						
					
					
						commit
						e4e9758aa5
					
				
					 2 changed files with 7 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1,3 +1,9 @@
 | 
			
		|||
Sat Aug  7 17:18:34 2010  Nobuyoshi Nakada  <nobu@ruby-lang.org>
 | 
			
		||||
 | 
			
		||||
	* ext/extmk.rb (extract_makefile): follow the change of
 | 
			
		||||
	  install-rb-default line format at r28850, which causes second
 | 
			
		||||
	  run to create dummy makefiles.
 | 
			
		||||
 | 
			
		||||
Sat Aug  7 14:08:44 2010  NARUSE, Yui  <naruse@ruby-lang.org>
 | 
			
		||||
 | 
			
		||||
	* lib/mkmf.rb: change instance variable to global.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -50,7 +50,7 @@ def extract_makefile(makefile, keep = true)
 | 
			
		|||
    return keep
 | 
			
		||||
  end
 | 
			
		||||
  installrb = {}
 | 
			
		||||
  m.scan(/^install-rb-default:[ \t]*(\S+)\n\1:[ \t]*(\S+)/) {installrb[$2] = $1}
 | 
			
		||||
  m.scan(/^install-rb-default:.*[ \t](\S+)(?:[ \t].*)?\n\1:[ \t]*(\S+)/) {installrb[$2] = $1}
 | 
			
		||||
  oldrb = installrb.keys.sort
 | 
			
		||||
  newrb = install_rb(nil, "").collect {|d, *f| f}.flatten.sort
 | 
			
		||||
  if target_prefix = m[/^target_prefix[ \t]*=[ \t]*\/(.*)/, 1]
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue