diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-09-10 14:00:47 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-09-10 14:00:47 +0000 |
commit | 3a224dbf45c2bcd8db9c881d671a3080ba16f5c3 (patch) | |
tree | a1158473f96e7ffb42c8b9ea35c74e778f69bc50 /lib/mkmf.rb | |
parent | 3707fd4941f4eed6c442180a0ae19d92e6d39b08 (diff) | |
download | ruby-3a224dbf45c2bcd8db9c881d671a3080ba16f5c3.tar.gz |
* lib/mkmf.rb (create_makefile): fix for parallel execution.
[ruby-core:25509]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/mkmf.rb')
-rw-r--r-- | lib/mkmf.rb | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/mkmf.rb b/lib/mkmf.rb index 8d6fc96793..5e9d646e4c 100644 --- a/lib/mkmf.rb +++ b/lib/mkmf.rb @@ -1,3 +1,4 @@ +# -*- indent-tabs-mode: t -*- # module to create Makefile for extension modules # invoke like: ruby -r mkmf extconf.rb @@ -1759,8 +1760,8 @@ static: $(STATIC_LIB)#{$extout ? " install-rb" : ""} mfile.print "\t@-$(RM) #{fseprepl[dest]}\n" mfile.print "\t@-$(RMDIRS) #{fseprepl[dir]}\n" else - mfile.print "#{dest}: #{dir} #{f}\n" - mfile.print "\t$(INSTALL_PROG) #{fseprepl[f]} #{fseprepl[dir]}\n" + mfile.print "#{dest}: #{f}\n\t@-$(MAKEDIRS) $(@D#{sep})\n" + mfile.print "\t$(INSTALL_PROG) #{fseprepl[f]} $(@D#{sep})\n" if defined?($installed_list) mfile.print "\t@echo #{dir}/#{File.basename(f)}>>$(INSTALLED_LIST)\n" end @@ -1782,8 +1783,8 @@ static: $(STATIC_LIB)#{$extout ? " install-rb" : ""} for f in files dest = "#{dir}/#{File.basename(f)}" mfile.print("install-rb#{sfx}: #{dest}\n") - mfile.print("#{dest}: #{f} #{dir}\n\t$(#{$extout ? 'COPY' : 'INSTALL_DATA'}) ") - mfile.print("#{f} $(@D)\n") + mfile.print("#{dest}: #{f}\n\t@-$(MAKEDIRS) $(@D#{sep})\n") + mfile.print("\t$(#{$extout ? 'COPY' : 'INSTALL_DATA'}) #{f} $(@D#{sep})\n") if defined?($installed_list) and !$extout mfile.print("\t@echo #{dest}>>$(INSTALLED_LIST)\n") end |