diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2020-11-12 08:37:50 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2020-11-12 08:37:50 -0500 |
commit | fa6a0fc6665b5315fb72903f8b3d27cbde61901d (patch) | |
tree | 8dc688ed66b4320a29c6d029493ae5d59622229e /tests | |
parent | 1991ad515f102d2eeb858180d7aa2f6b9344da5e (diff) | |
download | flex-git-fa6a0fc6665b5315fb72903f8b3d27cbde61901d.tar.gz |
Declare that rulset.am depends on *.rules files...
...for automatic remake when a new one is added.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Makefile.am | 6 | ||||
-rw-r--r-- | tests/README | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am index 0643e28..6c7f95a 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -394,13 +394,13 @@ multiple_scanners_r_2.h: multiple_scanners_r_2.c top_main.$(OBJEXT): top.h top.h: top.c -# Most test priductions can be autogenerated from ruleset files, but +# Most test productions can be autogenerated from ruleset files, but # automake has no way to specify such things with a loop in a variable # (even though make can do such things) and the resultant list is both -# long an unenlightening. And it can be / is generated by a shell +# long and unenlightening. And it can be / is generated by a shell # script, ruleset.sh. -$(srcdir)/ruleset.am: $(srcdir)/ruleset.sh +$(srcdir)/ruleset.am: $(srcdir)/ruleset.sh $(srcdir)/*.rules $(SHELL) $(srcdir)/ruleset.sh nr r c99 > $(srcdir)/ruleset.am include $(srcdir)/ruleset.am diff --git a/tests/README b/tests/README index a33d83a..f837261 100644 --- a/tests/README +++ b/tests/README @@ -99,7 +99,7 @@ is Flex's ability to accumulate and ship preamble code sections. The "quotes" test is also backend-indepedent; it's testing that m4 expansion doesn't leak through the genertated scanner. -The C99 baxk end is missing tests for the Bison bridge, header +The C99 backend is missing tests for the Bison bridge, header generation, and loadable tables because it omits those features in order to be a simpler starting point for wring new back ends. |