Re: non-recursive make and tests

2004-08-31 Thread Gary V. Vaughan
Hi Bob! Bob Friesenhahn wrote: > On Tue, 31 Aug 2004, Gary V.Vaughan wrote: > That sounds great, but in my case the input files are graphic image > files so they would be rather unwieldy in here documents. Typically a > file is read, processed using an algorithm, and then either its checksum > is

Re: non-recursive make and tests

2004-08-31 Thread Bob Friesenhahn
On Tue, 31 Aug 2004, Gary V.Vaughan wrote: Many scripts could be one-liners if Automake can produce a per-directory test environment. I made a stab at converting libtool to non-recursive make last year (I think) and had much the same problem. I think the general solution is to move to an Autote

Re: non-recursive make and tests

2004-08-31 Thread Gary V . Vaughan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Bob, On 31 Aug 2004, at 06:08, Bob Friesenhahn wrote: On Mon, 30 Aug 2004, Bob Friesenhahn wrote: The $(srcdir) value passed is often essentially useless since it may just be '.'. It is difficult for the Makefile to produce better values except fo

Re: non-recursive make and tests

2004-08-30 Thread Bob Friesenhahn
On Mon, 30 Aug 2004, Bob Friesenhahn wrote: The $(srcdir) value passed is often essentially useless since it may just be '.'. It is difficult for the Makefile to produce better values except for perhaps offsets from @abs_top_srcdir@ and @abs_top_builddir@ substitutions. It may also be possible

Re: non-recursive make and tests

2004-08-30 Thread Bob Friesenhahn
On Tue, 31 Aug 2004, Robert Collins wrote: On Mon, 2004-08-30 at 20:30 -0500, Bob Friesenhahn wrote: On Mon, 30 Aug 2004, Bob Friesenhahn wrote: It would be quite helpful if Automake offered a mode in which it automatically changed the working directory to the directory where the test program/scrip

Re: non-recursive make and tests

2004-08-30 Thread Robert Collins
On Mon, 2004-08-30 at 20:30 -0500, Bob Friesenhahn wrote: > On Mon, 30 Aug 2004, Bob Friesenhahn wrote: > > > > It would be quite helpful if Automake offered a mode in which it > > automatically changed the working directory to the directory where the test > > program/script resides and set $srcd

Re: non-recursive make and tests

2004-08-30 Thread Bob Friesenhahn
On Mon, 30 Aug 2004, Bob Friesenhahn wrote: It would be quite helpful if Automake offered a mode in which it automatically changed the working directory to the directory where the test program/script resides and set $srcdir to the relative position in the source tree to support VPATH builds. Th