mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/mkmf.rb (create_makefile): added phony targets.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
fb3fee22ca
commit
030eed8f39
2 changed files with 8 additions and 2 deletions
|
@ -1,4 +1,6 @@
|
|||
Thu Feb 19 14:18:25 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
Thu Feb 19 14:22:02 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* lib/mkmf.rb (create_makefile): added phony targets.
|
||||
|
||||
* lib/mkmf.rb (create_makefile): creates target directories before
|
||||
copying. [ruby-core:21958]
|
||||
|
|
|
@ -1441,6 +1441,8 @@ CLEANFILES = #{$cleanfiles.join(' ')}
|
|||
DISTCLEANFILES = #{$distcleanfiles.join(' ')}
|
||||
|
||||
all install static install-so install-rb: Makefile
|
||||
.PHONY: all install static install-so install-rb
|
||||
.PHONY: clean clean-so clean-rb
|
||||
|
||||
RULES
|
||||
end
|
||||
|
@ -1634,7 +1636,7 @@ CLEANFILES = #{$cleanfiles.join(' ')}
|
|||
DISTCLEANFILES = #{$distcleanfiles.join(' ')}
|
||||
DISTCLEANDIRS = #{$distcleandirs.join(' ')}
|
||||
|
||||
extout = #{$extout}
|
||||
extout = #{$extout && $extout.quote}
|
||||
extout_prefix = #{$extout_prefix}
|
||||
target_prefix = #{target_prefix}
|
||||
LOCAL_LIBS = #{$LOCAL_LIBS}
|
||||
|
@ -1657,6 +1659,8 @@ CLEANOBJS = *.#{$OBJEXT} #{config_string('cleanobjs') {|t| t.gsub(/\$\*/, "$
|
|||
|
||||
all: #{$extout ? "install" : target ? "$(DLLIB)" : "Makefile"}
|
||||
static: $(STATIC_LIB)#{$extout ? " install-rb" : ""}
|
||||
.PHONY: all install static install-so install-rb
|
||||
.PHONY: clean clean-so clean-rb
|
||||
"
|
||||
mfile.print CLEANINGS
|
||||
fsep = config_string('BUILD_FILE_SEPARATOR') {|s| s unless s == "/"}
|
||||
|
|
Loading…
Add table
Reference in a new issue