From 07aeab99f332ecce90c6f4f89c143c66cc17f252 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 13 Oct 2006 15:56:48 +0000 Subject: * 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 --- bcc32/Makefile.sub | 15 ++++++++++++--- bcc32/configure.bat | 4 ++-- 2 files changed, 14 insertions(+), 5 deletions(-) (limited to 'bcc32') 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 -- cgit