diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-09-20 14:18:19 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-09-20 14:18:19 +0000 |
commit | 8978bfe7f9531a91466b8976a68ddac8d7bc19c6 (patch) | |
tree | 20d6b0a6997d502dd59a46c92f5bd7a18d553631 | |
parent | 4e259f90940288de23a1755db5eb74d50b17c3e7 (diff) | |
download | ruby-8978bfe7f9531a91466b8976a68ddac8d7bc19c6.tar.gz |
* common.mk (pre-install-doc): create data directory before install.
* lib/mkmf.rb (dir_re): fixed typo.
* lib/mkmf.rb (install_dirs): remove extra slash.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | common.mk | 1 | ||||
-rw-r--r-- | lib/mkmf.rb | 4 |
3 files changed, 11 insertions, 2 deletions
@@ -1,3 +1,11 @@ +Wed Sep 20 23:17:41 2006 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * common.mk (pre-install-doc): create data directory before install. + + * lib/mkmf.rb (dir_re): fixed typo. + + * lib/mkmf.rb (install_dirs): remove extra slash. + Wed Sep 20 22:41:45 2006 Nobuyoshi Nakada <nobu@ruby-lang.org> * numeric.c (fix_mul): typo again. patch from Tadashi Saito @@ -236,6 +236,7 @@ rdoc: $(PROGRAM) PHONY $(RUNRUBY) "$(srcdir)/bin/rdoc" --all --ri --op "$(RDOCOUT)" "$(srcdir)" pre-install-doc:: PHONY + $(RUNRUBY) -run -e mkdir -- -p "$(RIDATADIR)" post-install-doc:: PHONY diff --git a/lib/mkmf.rb b/lib/mkmf.rb index 97a6036700..6caeef3d54 100644 --- a/lib/mkmf.rb +++ b/lib/mkmf.rb @@ -68,7 +68,7 @@ def config_string(key, config = CONFIG) end def dir_re(dir) - Regexp.new('\$(?:\('+dir+'\)|\{'+dir+'\})(?:\$\(target_prefix\)|\{target_prefix\})?') + Regexp.new('\$(?:\('+dir+'\)|\{'+dir+'\})(?:\$(?:\(target_prefix\)|\{target_prefix\}))?') end INSTALL_DIRS = [ @@ -84,7 +84,7 @@ def install_dirs(target_prefix = nil) if $extout dirs = [ ['RUBYCOMMONDIR', '$(extout)/common'], - ['RUBYLIBDIR', '$(RUBYCOMMONDIR)/$(target_prefix)'], + ['RUBYLIBDIR', '$(RUBYCOMMONDIR)$(target_prefix)'], ['RUBYARCHDIR', '$(extout)/$(arch)$(target_prefix)'], ['extout', "#$extout"], ['extout_prefix', "#$extout_prefix"], |