mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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:
parent
ea82a51a15
commit
e54216b740
3 changed files with 15 additions and 4 deletions
|
@ -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>
|
Mon Jul 23 00:26:04 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
|
|
||||||
* eval.c (rb_provide_feature): should not tweak extension used for
|
* eval.c (rb_provide_feature): should not tweak extension used for
|
||||||
|
|
|
@ -173,8 +173,11 @@ def install_rb(mfile, srcdir = nil)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
for f in dir
|
for f in dir
|
||||||
next if f == "."
|
if f == "."
|
||||||
mfile.printf "\t@$(RUBY) -r ftools -e 'File::makedirs(*ARGV)' $(DESTDIR)$(pkglibdir)$(target_prefix)/%s\n", 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
|
end
|
||||||
for f in path
|
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
|
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
|
||||||
end
|
end
|
||||||
for f in dir
|
for f in dir
|
||||||
next if f == "."
|
if f == "."
|
||||||
mfile.printf "\t@$(RUBY) -r ftools -e 'File::makedirs(*ARGV)' %s/%s\n", dest, 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
|
end
|
||||||
for f in path
|
for f in path
|
||||||
d = '/' + File::dirname(f)
|
d = '/' + File::dirname(f)
|
||||||
|
|
Loading…
Reference in a new issue