summaryrefslogtreecommitdiffstats
path: root/common.mk
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-03-11 16:08:24 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-03-11 16:08:24 +0000
commit9be9e89b9e2ab0d331cf8a265c319c803c1e7a5b (patch)
tree4d8357e93ab16f2721b4d5545db426ef7733b425 /common.mk
parent9322b1f5b89ff95aa76b447b778bb36d4ba4a6d9 (diff)
downloadruby-9be9e89b9e2ab0d331cf8a265c319c803c1e7a5b.tar.gz
ruby-9be9e89b9e2ab0d331cf8a265c319c803c1e7a5b.tar.xz
ruby-9be9e89b9e2ab0d331cf8a265c319c803c1e7a5b.zip
* tool/ytab.sed: replaces backslashes with slash for nmake.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/common.mk b/common.mk
index bf24441f3..5d3aee52d 100644
--- a/common.mk
+++ b/common.mk
@@ -435,7 +435,7 @@ PHONY:
parse.h {$(VPATH)}parse.h: {$(VPATH)}parse.c
{$(srcdir)}.y.c:
- $(YACC) -d $(YFLAGS) -o y.tab.c $(<:\=/)
+ $(YACC) -d $(YFLAGS) -o y.tab.c $<
sed -f $(srcdir)/tool/ytab.sed -e "/^#/s!y\.tab\.c!$@!" y.tab.c > $@.new
@$(MV) $@.new $@
sed -e "/^#line.*y\.tab\.h/d;/^#line.*parse\.y/d" y.tab.h > $(@:.c=.h).new