Merge branch 'doc-yacc-d-improve' into yacc-work
authorStefano Lattarini <stefano.lattarini@gmail.com>
Wed, 12 Jan 2011 22:36:00 +0000 (23:36 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Wed, 12 Jan 2011 22:36:00 +0000 (23:36 +0100)
1  2 
ChangeLog

diff --cc ChangeLog
+++ b/ChangeLog
+ 2011-01-12   Stefano Lattarini  <stefano.lattarini@gmail.com>
+       docs: clustered '-d' not recognized in YFLAGS
+       This change fixes automake bug#7828.
+       * doc/automake.texi (Yacc and Lex): Document that automake
+       recognizes '-d' in AM_YFLAGS only if it's not clustered with
+       other options.
+       From a report by Юрий Пухальский.
 +2011-01-11  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      tests: do not force yacc-requiring tests to use bison
 +      * tests/defs.in: New required entry 'yacc'.  Remove old
 +      required entry 'bison'.
 +      * tests/cond35.test ($required): Require yacc, not bison.
 +      * tests/cond36.test: Likewise.
 +      * tests/pr204.test: Likewise.
 +      * tests/silent-many-gcc.test: Likewise.
 +      * tests/silent-many-generic.test: Likewise.
 +      * tests/silent-yacc-gcc.test: Likewise.
 +      * tests/silent-yacc-generic.test: Likewise.
 +      * tests/subpkg.test: Likewise.
 +      * tests/suffix10.test: Likewise.
 +      * tests/yacc-basic.test: Likewise.
 +      * tests/yacc-clean.test: Likewise.
 +      * tests/yacc-d-basic.test: Likewise.
 +      * tests/yacc-d-vpath.test: Likewise.
 +      * tests/yacc-dist-nobuild.test: Likewise.
 +      * tests/yacc-nodist.test: Likewise.
 +      * tests/yacc4.test: Likewise.
 +      * tests/yacc6.test: Likewise.
 +      * tests/yacc7.test: Likewise.
 +      * tests/yacc8.test: Likewise.
 +      * tests/yaccdry.test: Likewise.
 +      * tests/yaccvpath.test: Likewise.
 +
 +2011-01-10   Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      yacc: warn about conditional content in *YFLAGS variables
 +      This change fixes automake bug#7804.
 +      * automake.in (lang_yacc_target_hook): Warn if any of the relevant
 +      *YFLAGS variables has conditional contents (not only a conditional
 +      definition).  Related refactoring.
 +      * NEWS: Updated.
 +      * tests/yflags-conditional.test: Updated and extended.
 +      * tests/yflags-conditional-force.test: New test.
 +      * tests/Makefile.am (TESTS): Updated.
 +
 +2011-01-08   Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      yacc: support variable expansions in *YFLAGS definition.
 +      This change fixes automake bug#7800.
 +      * automake.in (lang_yacc_target_hook): Use 'value_as_list_recursive'
 +      instead of 'variable_value' to get the value of *YFLAGS variables.
 +      Related changes.
 +      ($DASH_D_PATTERN): Removed.
 +      * tests/Makefile.am (XFAIL_TESTS): Remove yflags-var-expand.test.
 +      * tests/yacc-clean.test: Remove workaround for now-fixed bug.
 +      * NEWS: Update.
 +
 +2011-01-08   Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      yacc: more tests on *YFLAGS support
 +      * tests/yflags-var-expand.test: New test, still xfailing.  It
 +      exposes automake bug#7800 -- "automake fails to honor `-d' in
 +      AM_YFLAGS when variable expansions are involved".
 +      * tests/yflags-d-false-positive.test: New test, checking that
 +      automake do not spuriously see `-d' in *YFLAGS when that isn't
 +      really there.
 +      * tests/yflags-force-override.test: New test, checking that
 +      automake can cope with definition of the YFLAGS variable in
 +      Makefile.am (even if that is an extremely bad practice, as that
 +      variable is user-reserved).
 +      * tests/yflags-cmdline-override.test: New test, checking that
 +      automake can cope with user-redefinition of YFLAGS at configure
 +      time and/or at make time.
 +      * tests/yflags-conditional.test: New test, checks that automake
 +      warns on conditionally-defined *YFLAGS variables.
 +      * tests/Makefile.am (TESTS, XFAIL_TESTS): Update.
 +
 +2011-01-08   Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      yacc: extend and improve tests
 +      * tests/yacc-basic.test: Also check that the intermediate C file
 +      is mentioned in the generated Makefile.in, and that it is created
 +      by the first make invocation.
 +      * tests/yacc3.test: Test removed, superseded by ...
 +      * tests/yacc-d-basic.test: ... this new test.
 +      * tests/yacc2.test: Add reference to that new test in the heading
 +      comments.
 +      * tests/yacc-d-vpath.test: New test.
 +      * tests/yaccvpath.test: Updated heading comments.  Do not require
 +      gcc anymore, as any working C compiler should be enough.  Remove
 +      redundant comments.
 +      * tests/yacc-nodist.test: New test.
 +      * tests/yacc-dist-nobuild.test: New test.
 +      * tests/Makefile.am (TESTS): Update.
 +
 +2010-12-13  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      Extend, fix and improve tests on Lex and Yacc support.
 +      * tests/lexcpp.test: New test script, on support for Lex + C++.
 +      * tests/lexvpath.test: New test script, test build and rebuild
 +      rules for lexers in VPATH setup.
 +      * tests/yacc-basic.test: New test script, run simple "semantic"
 +      checks on basic Yacc support (similarly to what lex3.test does
 +      for Lex support).
 +      * tests/lex.test: Don't create useless dummy source file joe.l.
 +      Remove extra blank lines.
 +      * tests/lex4.test: Add trailing `:' command.  Do not create dummy
 +      useless lex source file.
 +      * tests/lex2.test: Likewise.  Call automake with the `-a' option,
 +      so that it doesn't fail for the absence of `ylwrap' script.  Make
 +      grepping of automake stderr stricter.
 +      * tests/yacc7.test: Add trailing `:' command.  Enable `errexit'
 +      shell flag earlier (just after having sourced ./defs).
 +      * tests/yacc4.test: Likewise.  Also ...
 +      (configure.in): Use pre-populated skeleton set up by ./defs,
 +      instead of writing one from scratch.
 +      Other minor cosmetic changes.
 +      * tests/yacc5.test: Likewise.
 +      * tests/yaccvpath.test: Likewise. Also ...
 +      ($distdir): New variable.
 +      Use it throughout.
 +      * tests/lex5.test: Likewise.
 +      * tests/lex3.test: Likewise.  Check the distdir, rather than
 +      grepping the distribution tarball.  Extend the test on the
 +      created binary, and be sure to avoid hangs.  Add some comments.
 +      * tests/yacc.test: Use stricter grepping.  Add trailing `:'.
 +      * tests/yacc6.test: Likewise.
 +      * tests/yacc3.test: Likewise.  Do not create the unused file
 +      `Makefile.sed'.  Remove useless rules from Makefile.am.  Other
 +      minor cosmetic changes.
 +      * tests/yacc2.test: Make grepping of generated `Makefile.in' and
 +      of automake error messages stricter.  Do not redirect output of
 +      grep to /dev/null.  Move call to aclocal earlier.  Reduce the
 +      number of empty blank lines.  Fix a typo in comments.
 +      * tests/yacc8.test: Fixed bugs that reduced the completeness of
 +      the tests.  Added trailing `:' command.
 +      (configure.in): Use pre-populated skeleton set up by ./defs,
 +      instead of writing one from scratch.
 +      * tests/yaccpp.test: Test also extensions `.y++', `.ypp', and
 +      `.yxx', rather than only `.yy'.
 +      * tests/Makefile.am (TESTS): Update.
 +
 +2011-01-07   Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      yacc: "make clean" removes .c and .h files from non-distributed .y
 +      Previously, while automake did *not* distribute C source and header
 +      files derived from non-distributed Yacc sources, it still caused
 +      them to be removed only by "make maintainer-clean" only, and not by
 +      simply "make clean" or "make distclean".
 +      This caused "make distcheck" to fail, unless the developer put
 +      those generated .c and .h files in CLEANFILES or in DISTCLEANFILES
 +      by hand.
 +      This change fixes this issue, by making non-distributed `.c' and
 +      `.h' files generated by non-distributed Yacc sources cleaned by
 +      "make clean".
 +      * tests/automake.in (lang_yacc_target_hook): Make C source and
 +      header files derived from non-distributed Yacc files cleaned by
 +      "make clean", not only by "make maintainer-clean".
 +      * tests/yacc-clean.test: New test.
 +      * tests/Makefile.am (TESTS): Update.
 +      * NEWS: Update.
 +
  2011-01-02   Stefano Lattarini  <stefano.lattarini@gmail.com>
  
        * NEWS: Fix typo (forgotten word).