summaryrefslogtreecommitdiffstats
path: root/bcc32
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-10-13 15:56:48 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-10-13 15:56:48 +0000
commit07aeab99f332ecce90c6f4f89c143c66cc17f252 (patch)
tree86c2dbfc479f1920691f641f987d1906dd4851e3 /bcc32
parent25cb8316ef154c1a070d9dd17e8fd92d096030ec (diff)
downloadruby-07aeab99f332ecce90c6f4f89c143c66cc17f252.tar.gz
ruby-07aeab99f332ecce90c6f4f89c143c66cc17f252.tar.xz
ruby-07aeab99f332ecce90c6f4f89c143c66cc17f252.zip
* bcc32/Makefile.sub (post-install-ext): no longer needed.
* bcc32/configure.bat: get rid of a quirk of Borland make, which sets empty macro in command line to "1". git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bcc32')
-rw-r--r--bcc32/Makefile.sub15
-rw-r--r--bcc32/configure.bat4
2 files changed, 14 insertions, 5 deletions
diff --git a/bcc32/Makefile.sub b/bcc32/Makefile.sub
index c7d3a794f..7398e2803 100644
--- a/bcc32/Makefile.sub
+++ b/bcc32/Makefile.sub
@@ -445,9 +445,18 @@ $(RUBY_INSTALL_NAME).rc $(RUBYW_INSTALL_NAME).rc $(RUBY_SO_NAME).rc: rbconfig.rb
-so_name=$(RUBY_SO_NAME) \
. $(icondirs) $(srcdir)win32
-post-install-ext::
- $(MINIRUBY) -I$(srcdir)lib -rrbconfig -rfileutils \
- -e "FileUtils.rm_f(Dir[ARGV[0]+RbConfig::CONFIG['archdir']+'/**/*.tds'])" "$(DESTDIR:\=/)"
+post-install-bin::
+ @exit > $@
+post-install-lib::
+ @exit > $@
+post-install-ext-comm::
+ @exit > $@
+post-install-ext-arch::
+ @exit > $@
+post-install-man::
+ @exit > $@
+post-install-doc::
+ @exit > $@
clean-local::
@$(RM) ext\extinit.c ext\extinit.$(OBJEXT) *.tds *.il? $(RUBY_SO_NAME).lib
diff --git a/bcc32/configure.bat b/bcc32/configure.bat
index c1b3cdb64..6e3056ff3 100644
--- a/bcc32/configure.bat
+++ b/bcc32/configure.bat
@@ -69,7 +69,7 @@ goto :loop
shift
goto :loop
:extout
- echo>> ~tmp~.mak "EXTOUT=%2" \
+ echo>> ~tmp~.mak -D"EXTOUT=%2" \
shift
shift
goto :loop
@@ -87,6 +87,6 @@ goto :loop
del ~tmp~.mak
goto :exit
:end
-echo>> ~tmp~.mak bcc32dir="$(@D)"
+echo>> ~tmp~.mak -Dbcc32dir="$(@D)"
make -s -f ~tmp~.mak
:exit