output directory of generated files

2006-03-09 Thread Thomas Porschberg
Hi, we have the following project structure and a file foo.ts: project/ +--src/foo.ts | | +--utils/PROG2 The goal is 1) to translate foo.ts to foo.qm (with an external program, say PROG1) 2) to create a header file from the created foo.qm (with another helper script

Re: How to use BUILT_SOURCES in non-recursive, multi-directory project?

2006-03-09 Thread Ralf Wildenhues
Hi Duncan, Note: I don't know whether and how much of this was already addressed. * Duncan Gibson wrote on Sat, Mar 04, 2006 at 06:09:22PM CET: use 'fluid -c foo.fl' to create foo.h and foo.cxx create libfoo.a from foo.cxx compile foo_test.cxx and link against libfoo.a *snip*

Re: How to use BUILT_SOURCES in non-recursive, multi-directory project?

2006-03-09 Thread Thomas Dickey
On Thu, 9 Mar 2006, Ralf Wildenhues wrote: dirname and basename are not portable to ancient hosts. In practice they will work fine, though. I'd write I know that dirname is not, but what platform did not support basename? -- Thomas E. Dickey http://invisible-island.net

Re: How to use BUILT_SOURCES in non-recursive, multi-directory project?

2006-03-09 Thread Ralf Wildenhues
* Thomas Dickey wrote on Thu, Mar 09, 2006 at 08:13:07PM CET: On Thu, 9 Mar 2006, Ralf Wildenhues wrote: dirname and basename are not portable to ancient hosts. In practice they will work fine, though. I'd write I know that dirname is not, but what platform did not support basename? No

Re: How to use BUILT_SOURCES in non-recursive, multi-directory project?

2006-03-09 Thread Thomas Dickey
On Thu, 9 Mar 2006, Ralf Wildenhues wrote: * Thomas Dickey wrote on Thu, Mar 09, 2006 at 08:13:07PM CET: On Thu, 9 Mar 2006, Ralf Wildenhues wrote: dirname and basename are not portable to ancient hosts. In practice they will work fine, though. I'd write I know that dirname is not, but

Re: How to use BUILT_SOURCES in non-recursive, multi-directory project?

2006-03-09 Thread Thomas 'Tom' R. Treadway III
On Mar 9, 2006, at 11:51 AM, Thomas Dickey wrote: On Thu, 9 Mar 2006, Ralf Wildenhues wrote: * Thomas Dickey wrote on Thu, Mar 09, 2006 at 08:13:07PM CET: On Thu, 9 Mar 2006, Ralf Wildenhues wrote: dirname and basename are not portable to ancient hosts. In practice they will work fine,

Re: How to use BUILT_SOURCES in non-recursive, multi-directory project?

2006-03-09 Thread Thomas Dickey
On Thu, 9 Mar 2006, Thomas 'Tom' R. Treadway III wrote: On Mar 9, 2006, at 11:51 AM, Thomas Dickey wrote: hmm - I can remember when it was a problem (around 1990), but can't recall whether it was Apollo SR9, SunOS 3 or HPUX. You did say ancient... The dirname utility originated in System III.

Re: How to use BUILT_SOURCES in non-recursive, multi-directory project?

2006-03-09 Thread Thomas 'Tom' R. Treadway III
On Mar 9, 2006, at 12:57 PM, Thomas Dickey wrote: On Thu, 9 Mar 2006, Thomas 'Tom' R. Treadway III wrote: On Mar 9, 2006, at 11:51 AM, Thomas Dickey wrote: hmm - I can remember when it was a problem (around 1990), but can't recall whether it was Apollo SR9, SunOS 3 or HPUX. You did say