mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
lib/mkmf.rb (create_makefile): add srcdir.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ed520cf6e9
commit
bc714fb4f5
2 changed files with 9 additions and 3 deletions
|
@ -1,3 +1,9 @@
|
|||
Thu Feb 8 21:27:24 2001 WATANABE Hirofumi <eban@ruby-lang.org>
|
||||
|
||||
* lib/mkmf.rb (install_rb): fix handling of relative path.
|
||||
|
||||
* lib/mkmf.rb (create_makefile): add srcdir.
|
||||
|
||||
Thu Feb 8 02:22:09 2001 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
|
||||
|
||||
* lib/net/http.rb: join HTTPReadResponse into HTTPResponse again.
|
||||
|
|
|
@ -155,7 +155,7 @@ def install_rb(mfile, dest, srcdir = nil)
|
|||
mfile.printf "\t@$(RUBY) -r ftools -e 'File::makedirs(*ARGV)' %s/%s\n", dest, f
|
||||
end
|
||||
for f in path
|
||||
mfile.printf "\t@$(RUBY) -r ftools -e 'File::install(ARGV[0], ARGV[1], 0644, true)' lib/%s %s/%s\n", f, dest, f
|
||||
mfile.printf "\t@$(RUBY) -r ftools -e 'File::install(ARGV[0], ARGV[1], 0644, true)' %s/%s %s\n", libdir, f, dest
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -473,7 +473,7 @@ $(archdir)/$(DLLIB): $(DLLIB)
|
|||
@$(RUBY) -r ftools -e 'File::makedirs(*ARGV)' $(libdir) $(archdir)
|
||||
@$(RUBY) -r ftools -e 'File::install(ARGV[0], ARGV[1], 0555, true)' $(DLLIB) $(archdir)/$(DLLIB)
|
||||
EOMF
|
||||
install_rb(mfile, "$(libdir)")
|
||||
install_rb(mfile, "$(libdir)", srcdir)
|
||||
mfile.printf "\n"
|
||||
|
||||
mfile.printf <<EOMF
|
||||
|
@ -481,7 +481,7 @@ $(sitearchdir)/$(DLLIB): $(DLLIB)
|
|||
@$(RUBY) -r ftools -e 'File::makedirs(*ARGV)' $(libdir) $(sitearchdir)
|
||||
@$(RUBY) -r ftools -e 'File::install(ARGV[0], ARGV[1], 0555, true)' $(DLLIB) $(sitearchdir)/$(DLLIB)
|
||||
EOMF
|
||||
install_rb(mfile, "$(sitelibdir)")
|
||||
install_rb(mfile, "$(sitelibdir)", srcdir)
|
||||
mfile.printf "\n"
|
||||
|
||||
if /mswin32/ !~ RUBY_PLATFORM
|
||||
|
|
Loading…
Reference in a new issue