diff options
| author | suke <suke@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-10-09 02:15:03 +0000 |
|---|---|---|
| committer | suke <suke@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-10-09 02:15:03 +0000 |
| commit | c5e19a2c4c697a4ed60eb9bf7ebf26629f07eba5 (patch) | |
| tree | b25daf123eb3aad80cc32bd7a04cfe9a44aa4775 | |
| parent | a6b036f02564cf8f27c0acdb3d096e71fd62030a (diff) | |
| download | ruby-c5e19a2c4c697a4ed60eb9bf7ebf26629f07eba5.tar.gz ruby-c5e19a2c4c697a4ed60eb9bf7ebf26629f07eba5.tar.xz ruby-c5e19a2c4c697a4ed60eb9bf7ebf26629f07eba5.zip | |
create .document file for rdoc.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ext/win32ole/extconf.rb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ext/win32ole/extconf.rb b/ext/win32ole/extconf.rb index c98926773..cee922554 100644 --- a/ext/win32ole/extconf.rb +++ b/ext/win32ole/extconf.rb @@ -6,6 +6,17 @@ require 'mkmf' dir_config("win32") + +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 @@ -15,6 +26,9 @@ def create_win32ole_makefile have_library("advapi32") and have_header("windows.h") create_makefile("win32ole") + create_docfile(SRCFILES) + else + create_docfile("") end end |
