diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-12-13 09:55:21 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-12-13 09:55:21 +0000 |
commit | 2298eb5f12ee4d8c192bc02e5dc957504a9ac30d (patch) | |
tree | 2c67feda7ef0154051ec14bba9ce6a8103e6b28b /ext/iconv/extconf.rb | |
parent | 6a3f682ff79266b0b38b8890f2fa61014089f6a3 (diff) |
* ext/iconv/charset_alias.rb: preserve original order.
* ext/iconv/extconf.rb: remove wrapper file at clean.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5185 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/iconv/extconf.rb')
-rw-r--r-- | ext/iconv/extconf.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/iconv/extconf.rb b/ext/iconv/extconf.rb index 7176fa45e3..8dfd562a40 100644 --- a/ext/iconv/extconf.rb +++ b/ext/iconv/extconf.rb @@ -31,11 +31,13 @@ test(iconv_t cd, char **inptr, size_t *inlen, char **outptr, size_t *outlen) else conf = prefix + "config.charset" end + wrapper = "iconv.rb" + $cleanfiles << wrapper end create_makefile("iconv") if conf open("Makefile", "a") do |mf| - mf.print("\nall: iconv.rb\n\niconv.rb: ", prefix, "charset_alias.rb") + mf.print("\nall: #{wrapper}\n\n#{wrapper}: #{prefix}charset_alias.rb") mf.print(" ", conf) unless scheme mf.print("\n\t$(RUBY) ", prefix, "charset_alias.rb ", conf, " $@\n") end |