diff options
author | Akim Demaille <akim.demaille@gmail.com> | 2019-02-02 07:16:43 +0100 |
---|---|---|
committer | Akim Demaille <akim.demaille@gmail.com> | 2019-02-02 17:31:58 +0100 |
commit | 76366e8e5c0cc76a9f828de731f964a219b4ae91 (patch) | |
tree | b26203d84cffd7aecf44c5df91eeb88c51e9fb0f /Makefile.am | |
parent | 781d2b02dee9486350e55405f0c8fab1d954ff44 (diff) | |
download | bison-76366e8e5c0cc76a9f828de731f964a219b4ae91.tar.gz |
make: regenerate the example parsers when bison changes
* Makefile.am (dependencies): Also depend on Bison's sources.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am index 606469d1..d32b14a9 100644 --- a/Makefile.am +++ b/Makefile.am @@ -29,12 +29,12 @@ EXTRA_DIST = .prev-version .version cfg.mk PACKAGING \ dist_doc_DATA = AUTHORS COPYING NEWS README THANKS TODO -# Let generated files (e.g., from exampkles/) depend on this variable, +# Let generated files (e.g., from examples/) depend on this variable, # to make sure they are regenerated when there are changes in Bison. # # Don't depend on $(BISON) otherwise we would rebuild these files # in srcdir, including during distcheck, which is forbidden. -dependencies = $(BISON_IN) $(dist_skeletons_DATA) +dependencies = $(BISON_IN) $(src_bison_SOURCES) $(dist_skeletons_DATA) ## Running the bison from this tarball. To generate our own parser, ## but also to run the tests. Of course, you ought to keep a sane |