Fail upon install or ranlib failure, part two.

2008-09-06 Thread Ralf Wildenhues
This is the second part of the install failure fixes. Nothing surprising really, but it differs from the first part in a couple of details: * The tests do not try to deal with a huge number of files. Not sure if I want to change this later when all files are installed efficiently, but simply build

Exit upon `install' failure, part one.

2008-09-06 Thread Ralf Wildenhues
This patch fixes DATA, HEADERS, PYTHON, SCRIPTS, and TEXINFOS installation to fail if any of the install commands failed. The new tests exercise this failure by trying to install some unreadable files. They also use many files (81 per variable) to exercise the splitting code. Never mind the fact

Re: Fix multi-file installation for files in srcdir.

2008-09-06 Thread Ralf Wildenhues
* Ralf Wildenhues wrote on Sun, Sep 07, 2008 at 12:20:06AM CEST: > This patch lowers the limit to 40 files installed. I figured 80 bytes > for `$(srcdir)/' plus relative file name were reasonable, plus maybe a > few hundred for `$(DESTDIR)$(foodir)', which brings us to roughly 3500. > Leaves 600 f

Fix multi-file installation for files in srcdir.

2008-09-06 Thread Ralf Wildenhues
This patch lowers the limit to 40 files installed. I figured 80 bytes for `$(srcdir)/' plus relative file name were reasonable, plus maybe a few hundred for `$(DESTDIR)$(foodir)', which brings us to roughly 3500. Leaves 600 for the environment, to stay below the POSIX minimum limit of 4096. Not m

patch series: fast install and uninstall

2008-09-06 Thread Ralf Wildenhues
Hello, Continuing the patch series against git master Automake, to fix and improve 'make install' and 'make uninstall' (and 'make clean' a bit). There's about a dozen patches coming up. Jim and Akim pushed towards multi-file 'install' because the GNU coreutils install program is rather heavy, esp

Re: Use Exit, not exit, in test suite

2008-09-06 Thread Jim Meyering
Ralf Wildenhues <[EMAIL PROTECTED]> wrote: ... > Use `Exit' instead of `exit' in test suite. ... > +# We use a trap below for cleanup. This requires us to go through > +# hoops to get the right exit status transported through the signal. > +# So use `Exit STATUS' instead of `exit STATUS' insid

Re: Updated Vala support for automake

2008-09-06 Thread Ralf Wildenhues
Hello Mathias, all, let me please say that I'm a bit ashamed that I put this off for so long. Please accept my apologies. I promise to push this through quickly now. But first of all, thanks for your contributions to Automake! So here we go with a review of

Use Exit, not exit, in test suite

2008-09-06 Thread Ralf Wildenhues
Since we added the exit trap in tests/defs.in (to clean up the per-test directories), we now have to cater to the exit status differences between shells. This is documented in the Autoconf manual, here's a quick recap: With trap 'e=$? ... exit $e' 0 ... $prev_command