From 613bb86ee1f275a4f2c1b223d1e767ff05914ca2 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Fri, 6 Apr 2001 20:32:09 +0000 Subject: [PATCH] Make-lang.in ($(srcdir)/java/parse-scan.c): Run bison from build directory. * Make-lang.in ($(srcdir)/java/parse-scan.c): Run bison from build directory. ($(srcdir)/java/parse.c): Likewise. From-SVN: r41162 --- gcc/java/ChangeLog | 6 ++++++ gcc/java/Make-lang.in | 11 +++++------ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index b943cb754c8..f6116e536f8 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,9 @@ +2001-04-06 Tom Tromey + + * Make-lang.in ($(srcdir)/java/parse-scan.c): Run bison from build + directory. + ($(srcdir)/java/parse.c): Likewise. + 2001-04-05 Alexandre Petit-Bianco * gcj.texi: Use `which-gcj' instead of `which-g77.' diff --git a/gcc/java/Make-lang.in b/gcc/java/Make-lang.in index 5a52c2d2179..f8a9b2b81ef 100644 --- a/gcc/java/Make-lang.in +++ b/gcc/java/Make-lang.in @@ -80,14 +80,13 @@ $(GCJ)-cross$(exeext): $(GCJ)$(exeext) $(INTL_TARGETS): $(srcdir)/java/parse.c $(srcdir)/java/parse-scan.c $(srcdir)/java/parse.c: $(srcdir)/java/parse.y - (cd $(srcdir)/java && \ - $(BISON) -t --name-prefix=java_ $(BISONFLAGS) -o p$$$$.c parse.y && \ - mv -f p$$$$.c parse.c) + $(BISON) -t --name-prefix=java_ $(BISONFLAGS) \ + -o p$$$$.c $(srcdir)/java/parse.y && \ + mv -f p$$$$.c $(srcdir)/java/parse.c $(srcdir)/java/parse-scan.c: $(srcdir)/java/parse-scan.y - (cd $(srcdir)/java && \ - $(BISON) -t $(BISONFLAGS) -o ps$$$$.c parse-scan.y && \ - mv -f ps$$$$.c parse-scan.c) + $(BISON) -t $(BISONFLAGS) -o ps$$$$.c $(srcdir)/java/parse-scan.y && \ + mv -f ps$$$$.c $(srcdir)/java/parse-scan.c $(srcdir)/java/keyword.h: $(srcdir)/java/keyword.gperf (cd $(srcdir)/java || exit 1; \ -- 2.30.2