ruby-changes:19082
From: nobu <ko1@a...>
Date: Fri, 18 Mar 2011 00:59:45 +0900 (JST)
Subject: [ruby-changes:19082] Ruby:r31121 (trunk): * ext/win32ole/extconf.rb (create_docfile): removed. should not
nobu 2011-03-18 00:59:40 +0900 (Fri, 18 Mar 2011) New Revision: 31121 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=31121 Log: * 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] Modified files: trunk/.gitignore trunk/ChangeLog trunk/ext/.document trunk/ext/win32ole/extconf.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 31120) +++ ChangeLog (revision 31121) @@ -1,3 +1,9 @@ +Fri Mar 18 00:59:38 2011 Nobuyoshi Nakada <nobu@r...> + + * 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@r...> * include/ruby/ruby.h (rb_funcall_passing_block): add prototype. Index: ext/.document =================================================================== --- ext/.document (revision 31120) +++ ext/.document (revision 31121) @@ -59,5 +59,5 @@ socket stringio/stringio.c strscan/strscan.c -win32ole +win32ole/win32ole.c zlib/zlib.c Index: ext/win32ole/extconf.rb =================================================================== --- ext/win32ole/extconf.rb (revision 31120) +++ ext/win32ole/extconf.rb (revision 31121) @@ -12,16 +12,6 @@ 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 @@ have_type("IMultiLanguage", "mlang.h") end create_makefile("win32ole") - create_docfile(SRCFILES) - else - create_docfile("") end end Index: .gitignore =================================================================== --- .gitignore (revision 31120) +++ .gitignore (revision 31121) @@ -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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/