summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2020-11-12 08:37:50 -0500
committerEric S. Raymond <esr@thyrsus.com>2020-11-12 08:37:50 -0500
commitfa6a0fc6665b5315fb72903f8b3d27cbde61901d (patch)
tree8dc688ed66b4320a29c6d029493ae5d59622229e /tests
parent1991ad515f102d2eeb858180d7aa2f6b9344da5e (diff)
downloadflex-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.am6
-rw-r--r--tests/README2
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.