mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* enc/depend (clean): remove name2ctype.h when out-of-place build.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
0dfd81cb23
commit
4f15664f6e
2 changed files with 8 additions and 1 deletions
|
@ -1,4 +1,6 @@
|
|||
Wed Dec 29 20:27:32 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
Wed Dec 29 20:31:19 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* enc/depend (clean): remove name2ctype.h when out-of-place build.
|
||||
|
||||
* win32/Makefile.sub (clean-enc): pass V to inferior make.
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
% inplace = File.identical?($srcdir, ".")
|
||||
% workdirs = %w"$(ENCSODIR) $(TRANSSODIR) enc enc/trans"
|
||||
% CONFIG["WORKDIRS"] = workdirs.join(' ')
|
||||
% CONFIG["DLDFLAGS"].sub!(/(\A|\s)(-\S+(?:\s*\w*)?\$\(TARGET\)\S*)/, '\1')
|
||||
|
@ -145,6 +146,10 @@ clean:
|
|||
$(Q)$(RM) <%=pathrep[clean]%>
|
||||
% end
|
||||
% @ignore_error = $nmake ? '' : ' 2> /dev/null || true'
|
||||
% unless inplace
|
||||
$(Q)$(RM) enc/unicode/name2ctype.h
|
||||
-$(Q)$(RMDIR) enc/unicode<%=@ignore_error%>
|
||||
% end
|
||||
% workdirs.reverse_each do|dir|
|
||||
-$(Q)$(RMDIR) <%=pathrep[dir]%><%=@ignore_error%>
|
||||
% end
|
||||
|
|
Loading…
Reference in a new issue