diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-03-17 15:59:40 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-03-17 15:59:40 +0000 |
commit | 508d65a542a2fcdd7b591b5f12a89bd3d48249a6 (patch) | |
tree | c3ade5d2545202acaebecfeb7622a1f5b0b16bb1 | |
parent | 3ae0dbccd2b56c0c0d0938a150344423265d4fa2 (diff) |
* ext/win32ole/extconf.rb (create_docfile): removed. should not
modify source directory unnecessarily, platform dependent
documentation should be dealt with by rdoc. [ruby-core:35495]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | ext/.document | 2 | ||||
-rw-r--r-- | ext/win32ole/extconf.rb | 13 |
4 files changed, 7 insertions, 16 deletions
diff --git a/.gitignore b/.gitignore index 9e33da1b6f..1580adedbc 100644 --- a/.gitignore +++ b/.gitignore @@ -47,7 +47,6 @@ /enc.mk /enc/trans/*.c /encdb.h -/ext/win32ole/.document /exts.mk /goruby /id.h @@ -440,7 +439,6 @@ /ext/win32ole/Makefile /ext/win32ole/mkmf.log /ext/win32ole/*.log -/ext/win32ole/.document # /ext/zlib/ /ext/zlib/*.def @@ -1,3 +1,9 @@ +Fri Mar 18 00:59:38 2011 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * ext/win32ole/extconf.rb (create_docfile): removed. should not + modify source directory unnecessarily, platform dependent + documentation should be dealt with by rdoc. [ruby-core:35495] + Fri Mar 18 00:54:20 2011 Nobuyoshi Nakada <nobu@ruby-lang.org> * include/ruby/ruby.h (rb_funcall_passing_block): add prototype. diff --git a/ext/.document b/ext/.document index e1b8ae2549..fda74e397b 100644 --- a/ext/.document +++ b/ext/.document @@ -59,5 +59,5 @@ ripper/lib socket stringio/stringio.c strscan/strscan.c -win32ole +win32ole/win32ole.c zlib/zlib.c diff --git a/ext/win32ole/extconf.rb b/ext/win32ole/extconf.rb index 95f229b041..c3717316d4 100644 --- a/ext/win32ole/extconf.rb +++ b/ext/win32ole/extconf.rb @@ -12,16 +12,6 @@ end dir_config("win32", inc, lib) -SRCFILES=<<SRC -win32ole.c -SRC - -def create_docfile(src) - open(File.expand_path($srcdir) + "/.document", "w") {|ofs| - ofs.print src - } -end - def create_win32ole_makefile if have_library("ole32") and have_library("oleaut32") and @@ -34,9 +24,6 @@ def create_win32ole_makefile have_type("IMultiLanguage", "mlang.h") end create_makefile("win32ole") - create_docfile(SRCFILES) - else - create_docfile("") end end |