diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-17 08:47:28 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-17 08:47:28 +0000 |
commit | b2d9f1e9d0da3a0b63e231d5692824368efd80cd (patch) | |
tree | 44bd02ed0131bb0b8754c9ff3279d0cc3195d43a /ext | |
parent | 5043ab95ed0fdbdc20a918d8b7b809dbc41bcba1 (diff) | |
download | ruby-b2d9f1e9d0da3a0b63e231d5692824368efd80cd.tar.gz |
* common.mk (encs): new target to compile external encodings.
* enc/Makefile.in: became a serb template.
* enc/make_encmake.rb: creates enc.mk from enc/Makefile.in using serb.
* lib/mkmf.rb (relative_from): moved from ext/extmk.rb.
* lib/mkmf.rb ($extmk): true if under to top source directory, not
only ext.
* lib/mkmf.rb (depend_rules): extracted from create_makefile.
* tool/serb.rb (serb): splitted from tool/compile_prelude.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r-- | ext/extmk.rb | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/ext/extmk.rb b/ext/extmk.rb index 898f8601c3..8eca69f2ff 100644 --- a/ext/extmk.rb +++ b/ext/extmk.rb @@ -42,15 +42,6 @@ def sysquote(x) @quote ? x.quote : x end -def relative_from(path, base) - dir = File.join(path, "") - if File.expand_path(dir) == File.expand_path(dir, base) - path - else - File.join(base, path) - end -end - def extract_makefile(makefile, keep = true) m = File.read(makefile) if !(target = m[/^TARGET[ \t]*=[ \t]*(\S*)/, 1]) |