diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-08-06 08:40:27 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-08-06 08:40:27 +0000 |
commit | 2b071787d2d5f572eb5f41262b6610bfde5eabb1 (patch) | |
tree | 9471c99a3f7f9cc67c886045a26ff21d9f7638c3 /enc/depend | |
parent | f4c1540b969dbf3e9756f5bc8234f1b4746f4173 (diff) | |
download | ruby-2b071787d2d5f572eb5f41262b6610bfde5eabb1.tar.gz |
* Makefile.in: ignore error from RMDIRS.
* enc/depend: ditto.
* lib/mkmf.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enc/depend')
-rw-r--r-- | enc/depend | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/enc/depend b/enc/depend index 6705beb2bf..7d196934d4 100644 --- a/enc/depend +++ b/enc/depend @@ -132,12 +132,14 @@ clean: % %w[$(ENCSOS) $(ENCOBJS) $(ENCCLEANOBJS) $(ENCCLEANLIBS) $(TRANSSOS) $(TRANSOBJS) $(TRANSCLEANOBJS) $(TRANSCLEANLIBS)].each do |clean| @$(RM) <%=pathrep[clean]%> % end +% @ignore_error = $nmake ? '' : '2> /dev/null || true' % %w[$(TRANSSODIR) $(ENCSODIR)].each do|dir| - @-$(RMDIR) <%=pathrep[dir]%> + @-$(RMDIR) <%=pathrep[dir]%><%=@ignore_error%> % end clean-srcs: @$(RM) <%=pathrep['$(TRANSCSRCS)']%> -% %w[enc/trans enc].each do|dir| - @-$(RMDIR) <%=pathrep[dir]%> -% end + @-$(RMDIR) <%=pathrep['enc/trans']%><%=@ignore_error%> + @$(RM) enc/unicode/name2ctype.h + @-$(RMDIR) <%=pathrep['enc/unicode']%><%=@ignore_error%> + @-$(RMDIR) <%=pathrep['enc']%><%=@ignore_error%> |