mirror of
https://github.com/ruby/ruby.git
synced 2025-09-19 02:23:59 +02:00
* 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
This commit is contained in:
parent
3ae0dbccd2
commit
508d65a542
4 changed files with 7 additions and 16 deletions
|
@ -59,5 +59,5 @@ ripper/lib
|
|||
socket
|
||||
stringio/stringio.c
|
||||
strscan/strscan.c
|
||||
win32ole
|
||||
win32ole/win32ole.c
|
||||
zlib/zlib.c
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue