summaryrefslogtreecommitdiffstats
path: root/gcc/java
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2001-04-06 20:32:09 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2001-04-06 20:32:09 +0000
commit0980e3a19284d32289296f5ee86f6485d1243a77 (patch)
tree77d6d805a0fe777097193cfaae77383bef3efaa0 /gcc/java
parentfdde7feb8023b5eb8718f64e2ed7b14404441d61 (diff)
downloadppe42-gcc-0980e3a19284d32289296f5ee86f6485d1243a77.tar.gz
ppe42-gcc-0980e3a19284d32289296f5ee86f6485d1243a77.zip
* Make-lang.in ($(srcdir)/java/parse-scan.c): Run bison from build
directory. ($(srcdir)/java/parse.c): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41162 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java')
-rw-r--r--gcc/java/ChangeLog6
-rw-r--r--gcc/java/Make-lang.in11
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 <tromey@redhat.com>
+
+ * Make-lang.in ($(srcdir)/java/parse-scan.c): Run bison from build
+ directory.
+ ($(srcdir)/java/parse.c): Likewise.
+
2001-04-05 Alexandre Petit-Bianco <apbianco@redhat.com>
* 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; \
OpenPOWER on IntegriCloud