bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FYI: help Automake reading Yacc flags


From: Akim Demaille
Subject: Re: FYI: help Automake reading Yacc flags
Date: Wed, 15 Feb 2012 17:27:00 +0100

Le 15 févr. 2012 à 13:09, Akim Demaille a écrit :

> I installed this in master.
> 
> From 505b107f9de76ded4470a6335a64339810a4dc54 Mon Sep 17 00:00:00 2001
> From: Akim Demaille <address@hidden>
> Date: Wed, 15 Feb 2012 12:53:34 +0100
> Subject: [PATCH] maint: help Automake reading Yacc flags.
> 
>        * Makefile.am (AM_YFLAGS): Automake looks for "-d" alone.

I also installed the following, since it was needed only because
we failed to define AM_YFLAGS properly.

From 3d6ca339083c278d907c9f030f4ba6bc5ecb07f2 Mon Sep 17 00:00:00 2001
From: Akim Demaille <address@hidden>
Date: Wed, 15 Feb 2012 13:32:07 +0100
Subject: maint: trust Automake for parser headers.

        * examples/calc++/local.mk, src/local.mk: Now that automake
        can see `-d' in AM_YFLAGS, we can rely on it to compile
        and ship the parser header files.
---
 examples/calc++/local.mk |    1 -
 src/local.mk             |    1 -
 2 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/examples/calc++/local.mk b/examples/calc++/local.mk
index 967925f..54e5584 100644
--- a/examples/calc++/local.mk
+++ b/examples/calc++/local.mk
@@ -53,7 +53,6 @@ calc_extracted =                              \
   examples/calc++/calc++-driver.cc             \
   examples/calc++/calc++-parser.yy
 calc_generated =                               \
-  examples/calc++/calc++-parser.h              \
   examples/calc++/stack.hh                     \
   examples/calc++/position.hh                  \
   examples/calc++/location.hh
diff --git a/src/local.mk b/src/local.mk
index 5589c1d..c05a403 100644
--- a/src/local.mk
+++ b/src/local.mk
@@ -61,7 +61,6 @@ src_bison_SOURCES =                             \
   src/nullable.h                                \
   src/output.c                                  \
   src/output.h                                  \
-  src/parse-gram.h                              \
   src/parse-gram.y                              \
   src/print-xml.c                               \
   src/print-xml.h                               \





reply via email to

[Prev in Thread] Current Thread [Next in Thread]