From 4a4ff7fac1c33ab1a880010965619f0cc1d998c9 Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 3 Mar 2005 09:44:33 +0000 Subject: * common.mk: add {pre,post}-install targets. * instruby.rb (install?): install particular part. * bcc32/Makefile.sub (post-install-ext): remove debug information files after installation. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- bcc32/Makefile.sub | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bcc32/Makefile.sub') diff --git a/bcc32/Makefile.sub b/bcc32/Makefile.sub index 902a93451b..1fe8540207 100644 --- a/bcc32/Makefile.sub +++ b/bcc32/Makefile.sub @@ -426,6 +426,10 @@ $(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[File.join(Config::CONFIG["archdir"],"**","*.tds")])' + clean-local:: @$(RM) ext\extinit.c ext\extinit.$(OBJEXT) *.tds *.il? $(RUBY_SO_NAME).lib @$(RM) $(RUBY_INSTALL_NAME).res $(RUBYW_INSTALL_NAME).res $(RUBY_SO_NAME).res -- cgit v1.2.1