From c2091e37ec2fd62e82f5aa69e8d147e0c329cdff Mon Sep 17 00:00:00 2001 From: yugui Date: Sat, 18 Oct 2008 22:30:13 +0000 Subject: * keywords, lex.c.src, opt_insn_unif.def, opt_operand.def: moved rarely changed input files for code generators into defs/ directory. * Makefile.in (lex.c): followed keywords and lex.c.src. * common.mk (parser.o): followed keywords. (INSNS): followed opt_*.def * tools/instruction.rb: followed opt_*.def. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- Makefile.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Makefile.in') diff --git a/Makefile.in b/Makefile.in index 8b4ad30549..eece91ed6e 100644 --- a/Makefile.in +++ b/Makefile.in @@ -185,16 +185,16 @@ $(srcdir)/configure: $(srcdir)/configure.in # * GNU make v.s. HP-UX make # HP-UX make invokes the action if lex.c and keywords has same mtime. # * svn checkout generate a file with mtime as current time # * XFS has a mtime with fractional part -lex.c: keywords +lex.c: defs/keywords @\ - if cmp -s $(srcdir)/lex.c.src $?; then \ + if cmp -s $(srcdir)/defs/lex.c.src $?; then \ set -x; \ cp $(srcdir)/lex.c.blt $@; \ else \ set -x; \ gperf -C -p -j1 -i 1 -g -o -t -N rb_reserved_word -k1,3,$$ $? > $@.tmp && \ mv $@.tmp $@ && \ - cp $? $(srcdir)/lex.c.src && \ + cp $? $(srcdir)/defs/lex.c.src && \ cp $@ $(srcdir)/lex.c.blt; \ fi -- cgit v1.2.3