* lib/mkmf.rb (create_makefile): removes directories in the depth
order. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
6784d8fda6
commit
fb3fee22ca
@ -1,8 +1,11 @@
|
|||||||
Thu Feb 19 14:14:28 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Thu Feb 19 14:18:25 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* lib/mkmf.rb (create_makefile): creates target directories before
|
* lib/mkmf.rb (create_makefile): creates target directories before
|
||||||
copying. [ruby-core:21958]
|
copying. [ruby-core:21958]
|
||||||
|
|
||||||
|
* lib/mkmf.rb (create_makefile): removes directories in the depth
|
||||||
|
order.
|
||||||
|
|
||||||
Thu Feb 19 13:56:00 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Thu Feb 19 13:56:00 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* file.c (rb_home_dir): checks if HAVE_PWD_H. [ruby-dev:38049]
|
* file.c (rb_home_dir): checks if HAVE_PWD_H. [ruby-dev:38049]
|
||||||
|
@ -1720,10 +1720,9 @@ static: $(STATIC_LIB)#{$extout ? " install-rb" : ""}
|
|||||||
end
|
end
|
||||||
if $extout
|
if $extout
|
||||||
dirs.uniq!
|
dirs.uniq!
|
||||||
dirs.reverse!
|
|
||||||
unless dirs.empty?
|
unless dirs.empty?
|
||||||
mfile.print("clean-rb#{sfx}::\n")
|
mfile.print("clean-rb#{sfx}::\n")
|
||||||
for dir in dirs
|
for dir in dirs.sort_by {|dir| -dir.count('/')}
|
||||||
mfile.print("\t@-$(RMDIRS) #{fseprepl[dir]}\n")
|
mfile.print("\t@-$(RMDIRS) #{fseprepl[dir]}\n")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user