зеркало из https://github.com/github/ruby.git
* ext/extmk.rb.in, lib/mkmf.rb: dig the target subdirectory for
lib/* files properly in case of create_makefile("dir/name"). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
ea82a51a15
Коммит
e54216b740
|
@ -1,3 +1,8 @@
|
|||
Tue Jul 24 19:23:15 2001 Akinori MUSHA <knu@iDaemons.org>
|
||||
|
||||
* ext/extmk.rb.in, lib/mkmf.rb: dig the target subdirectory for
|
||||
lib/* files properly in case of create_makefile("dir/name").
|
||||
|
||||
Mon Jul 23 00:26:04 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* eval.c (rb_provide_feature): should not tweak extension used for
|
||||
|
|
|
@ -173,8 +173,11 @@ def install_rb(mfile, srcdir = nil)
|
|||
end
|
||||
end
|
||||
for f in dir
|
||||
next if f == "."
|
||||
mfile.printf "\t@$(RUBY) -r ftools -e 'File::makedirs(*ARGV)' $(DESTDIR)$(pkglibdir)$(target_prefix)/%s\n", f
|
||||
if f == "."
|
||||
mfile.print "\t@$(RUBY) -r ftools -e 'File::makedirs(*ARGV)' $(DESTDIR)$(pkglibdir)$(target_prefix)\n"
|
||||
else
|
||||
mfile.printf "\t@$(RUBY) -r ftools -e 'File::makedirs(*ARGV)' $(DESTDIR)$(pkglibdir)$(target_prefix)/%s\n", f
|
||||
end
|
||||
end
|
||||
for f in path
|
||||
mfile.printf "\t@$(RUBY) -r ftools -e 'File::install(ARGV[0], ARGV[1], 0644, true)' $(srcdir)/lib/%s $(DESTDIR)$(pkglibdir)$(target_prefix)/%s\n", f, f
|
||||
|
|
|
@ -154,8 +154,11 @@ def install_rb(mfile, dest, srcdir = nil)
|
|||
end
|
||||
end
|
||||
for f in dir
|
||||
next if f == "."
|
||||
mfile.printf "\t@$(RUBY) -r ftools -e 'File::makedirs(*ARGV)' %s/%s\n", dest, f
|
||||
if f == "."
|
||||
mfile.printf "\t@$(RUBY) -r ftools -e 'File::makedirs(*ARGV)' %s\n", dest
|
||||
else
|
||||
mfile.printf "\t@$(RUBY) -r ftools -e 'File::makedirs(*ARGV)' %s/%s\n", dest, f
|
||||
end
|
||||
end
|
||||
for f in path
|
||||
d = '/' + File::dirname(f)
|
||||
|
|
Загрузка…
Ссылка в новой задаче