mkmf.rb: fix r36815

* lib/mkmf.rb (create_makefile): remove unnecessary rule and newline.
  [ruby-dev:46067] [Bug #6904]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2012-08-24 07:13:38 +00:00
parent 9ae270bf88
commit b903ab940c

View File

@ -2122,7 +2122,7 @@ static: $(STATIC_LIB)#{$extout ? " install-rb" : ""}
if target if target
f = "$(DLLIB)" f = "$(DLLIB)"
dest = "#{dir}/#{f}" dest = "#{dir}/#{f}"
mfile.puts dir, "install-so: #{dest}" mfile.puts dest
if $extout if $extout
mfile.print "clean-so::\n" mfile.print "clean-so::\n"
mfile.print "\t-$(Q)$(RM) #{fseprepl[dest]}\n" mfile.print "\t-$(Q)$(RM) #{fseprepl[dest]}\n"
@ -2214,7 +2214,7 @@ site-install-rb: install-rb
mfile.print "$(DLLIB): " mfile.print "$(DLLIB): "
mfile.print "$(DEFFILE) " if makedef mfile.print "$(DEFFILE) " if makedef
mfile.print "$(OBJS) Makefile" mfile.print "$(OBJS) Makefile"
mfile.print " #{timestamp_file('$(RUBYARCHDIR)')}\n" if $extout mfile.print " #{timestamp_file('$(RUBYARCHDIR)')}" if $extout
mfile.print "\n" mfile.print "\n"
mfile.print "\t$(ECHO) linking shared-object #{target_prefix.sub(/\A\/(.*)/, '\1/')}$(DLLIB)\n" mfile.print "\t$(ECHO) linking shared-object #{target_prefix.sub(/\A\/(.*)/, '\1/')}$(DLLIB)\n"
mfile.print "\t-$(Q)$(RM) $(@#{sep})\n" mfile.print "\t-$(Q)$(RM) $(@#{sep})\n"