diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-10-19 14:58:57 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-10-19 14:58:57 +0000 |
commit | 23ac67ac43ca82cd41763206c9e80eb03a6e7c70 (patch) | |
tree | a30efeff3314cea40c8d3d4a74dbb472ab18b05a /lib/mkmf.rb | |
parent | d32dc2b9fe115f3e477e364a412f3f58cb13e647 (diff) | |
download | ruby-23ac67ac43ca82cd41763206c9e80eb03a6e7c70.tar.gz |
* lib/mkmf.rb (create_makefile): do not create unnecessary empty
directories. fixed: [ruby-dev:27451]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/mkmf.rb')
-rw-r--r-- | lib/mkmf.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/mkmf.rb b/lib/mkmf.rb index 400d890aa2..2ae5bc8d84 100644 --- a/lib/mkmf.rb +++ b/lib/mkmf.rb @@ -1108,10 +1108,9 @@ static: $(STATIC_LIB)#{$extout ? " install-rb" : ""} mfile.print "\t$(INSTALL_PROG) #{f} #{dir}\n" end end - dirs << (dir = "$(RUBYLIBDIR)") mfile.print("install-rb: pre-install-rb install-rb-default\n") mfile.print("install-rb-default: pre-install-rb-default\n") - mfile.print("pre-install-rb pre-install-rb-default: #{dir}\n") + mfile.print("pre-install-rb pre-install-rb-default:\n") for sfx, i in [["-default", [["lib/**/*.rb", "$(RUBYLIBDIR)", "lib"]]], ["", $INSTALLFILES]] files = install_files(mfile, i, nil, srcprefix) or next for dir, *files in files @@ -1209,7 +1208,7 @@ site-install-rb: install-rb end end if m = /\A\.(\w+)\.(\w+)(?:\s*:)/.match(line) - suffixes << m[1] << m[2] + suffixes << m[1] << m[2] implicit = [[m[1], m[2]], [m.post_match]] next elsif RULE_SUBST and /\A[$\w][^#]*:/ =~ line |