bug#9768: Makefile broken after removing included *.am file

2011-10-17 Thread Stefano Lattarini
On Sunday 16 October 2011, Ralf Wildenhues wrote: Hello, Hi Ralf. * Stefano Lattarini wrote on Sun, Oct 16, 2011 at 08:27:12PM CEST: On Sunday 15 November 2009, Peter Johansson wrote: make: *** No rule to make target `aminclude.am', needed by `Makefile.in'. Stop. This is very

bug#9773: make install-info with DESTDIR writes unwanted usr/share/info/dir.gz

2011-10-17 Thread Jonathan Nieder
Hi, Santiago Vila writes[1]: There is some code in /usr/share/automake-1.11/am/texinfos.am which checks whether install-info is Debian install-info or not: [..] Now, install-info is GNU install-info, and the if will be always true, as the very first line of install-info --version says:

Re: bug#9768: Makefile broken after removing included *.am file

2011-10-17 Thread Stefano Lattarini
On Sunday 16 October 2011, Ralf Wildenhues wrote: Hello, Hi Ralf. * Stefano Lattarini wrote on Sun, Oct 16, 2011 at 08:27:12PM CEST: On Sunday 15 November 2009, Peter Johansson wrote: make: *** No rule to make target `aminclude.am', needed by `Makefile.in'. Stop. This is very

Re: bug#9753: automake.texi: colon in @pxref

2011-10-17 Thread Stefano Lattarini
On Sunday 16 October 2011, Stefano Lattarini wrote: On Friday 14 October 2011, Дилян Палаузов wrote: doc/automake.texi contains colon in @pxref, at line 879, @node VPATH Builds: ... these builds @pxref{General Search, , @code{VPATH}: Search Path for All Prerequisites, make, The GNU

[FYI 9/8] {dist-refactor} cosmetics: remove obsolete comment

2011-10-17 Thread Stefano Lattarini
On Sunday 09 October 2011, Stefano Lattarini wrote: This patch series is meant to fix Automake bugs 9546 and 9651. Stefano Lattarini (8): dist: auxiliary files can be distributed from subdir Makefiles dist: simplify automake code accordingly to the previous changes dist: truly always

[PATCH 0/4] Search for a good POSIX/XSI shell, and use it in the automake testsuite

2011-10-17 Thread Stefano Lattarini
This patch series is intended to be the starting point of a set of changes that will allow us to assume a decent POSIX shell in the automake testsuite. I've pushed the series to a new public branch `testsuite-saner-shell', to be eventually merged into `testsuite-work'. I'd consider the branch

[PATCH 4/4] test defs: fix indentation (cosmetic change)

2011-10-17 Thread Stefano Lattarini
* tests/defs (exit trap): Fix indentation left botched by previous patch `v1.11-1477-g8564a0d'. --- ChangeLog |6 +++ tests/defs | 123 ++-- 2 files changed, 67 insertions(+), 62 deletions(-) diff --git a/ChangeLog b/ChangeLog index

[PATCH 3/4] tests: remove obsolete uses of $sh_errexit_works

2011-10-17 Thread Stefano Lattarini
After the last changes, configure will ensure that the shell selected to run the test scripts can correctly propagate exit status to the exit trap when `set -e' is in effect. * configure.ac (sh_errexit_works): Do not AC_SUBST it anymore. * tests/defs-static.in (sh_errexit_works): Do not

[PATCH 1/4] tests: shell running test scripts is now named AM_TEST_RUNNER_SHELL

2011-10-17 Thread Stefano Lattarini
This is just a preparatory refactoring for future changes. * configure.ac (AM_TEST_RUNNER_SHELL): New variable, defined to `$SHELL', and AC_SUBST'd. * tests/Makefile.am (LOG_COMPILER): Redefine from $(SHELL) to $(AM_TEST_RUNNER_SHELL). (do_subst): Also substitute `@AM_TEST_RUNNER_SHELL@'. *

[PATCH 2/4] configure: search a sturdy POSIX shell to be used in the testsuite

2011-10-17 Thread Stefano Lattarini
* configure.ac: Add code (partially inspired to checks in gnulib's `tests/init.sh') to search for a good-enough, not-buggy POSIX/XSI shell to be used in our testsuite. Accordingly AC_SUBSTitute the variable `AM_TEST_RUNNER_SHELL'. --- ChangeLog|8 ++ configure| 353

[FYI] Deleted branches `GSoC/test-protocols' and `GSoC/testsuite-work'

2011-10-17 Thread Stefano Lattarini
Reference: http://lists.gnu.org/archive/html/automake-patches/2011-08/msg00179.html Now that the GSoC is completely over, all the formalities are concluded, and the dust is settled, there is no reason to keep the `GSoC/*' branches around anymore; so I've removed them. Regards, Stefano

[PATCH] {master} refactor: improve signature of 'check_directory' sub in automake

2011-10-17 Thread Stefano Lattarini
A very small refactoring that removes a tiny bit of gratuitous usage of global status in the automake script. After this change, no regression showed up in the testsuite. I will push in 72 hours if there is no objection or review by then. Regards, Stefano -*-*-*- refactor: improve signature

[RFC] Merging `testsuite-work' and `test-protocols' branches

2011-10-17 Thread Stefano Lattarini
Keeping the `testsuite-work' and `test-protocols' branches separate is becoming more and more confusing and unwiedly, and since the final aim is to merge them both into master (someday before the 1.12 release), I think it would be acceptable to simply merge them together at this point (i.e., merge

[FYI] {maint} tests: fix spurious failure with autoconf 2.62

2011-10-17 Thread Stefano Lattarini
* tests/aclocal-path-precedence.test: Rewrite configure.in, rather than appending to it, to avoid spurious failures (at least with autoconf 2.62) due to repeated calls to AC_INIT. Also, add package name and version arguments to AC_INIT, to avoid spurious errors from automake. --- ChangeLog

ylwrap bug

2011-10-17 Thread Bruce Korb
The --header-file=whatever fails to preserve the header file. ylwrap builds in a subdirectory and removes it. I don't know what the easiest fix is. For now, I've hacked ylwrap to look for a header with a name other than y?tab.h and, if it exists, move it up one directory. Not very