summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rw-r--r--ChangeLog6
-rw-r--r--ext/.document2
-rw-r--r--ext/win32ole/extconf.rb13
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
diff --git a/ChangeLog b/ChangeLog
index 08adb80c2d..add0d6960a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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