Re: Getting long SOURCES lines with subdirs shorter

2023-12-01 Thread Mike Frysinger
On 01 Dec 2023 17:39, Nick Bowler wrote: > On 2023-12-01 15:37, Jan Engelhardt wrote: > > On Friday 2023-12-01 21:13, Mike Frysinger wrote: > >> On 17 Jul 2023 16:51, Karl Berry wrote: > >>> Hi Jan, > >>> > >>> Current automake likely won't have anything in store already, > >>> > >>> Not that

Re: Getting long SOURCES lines with subdirs shorter

2023-12-01 Thread Mike Frysinger
On 01 Dec 2023 21:37, Jan Engelhardt wrote: > On Friday 2023-12-01 21:13, Mike Frysinger wrote: > >On 17 Jul 2023 16:51, Karl Berry wrote: > >> Hi Jan, > >> > >> Current automake likely won't have anything in store already, > >> > >> Not that I know of. > >> > >> a_SOURCES = $(addprefix

Re: Getting long SOURCES lines with subdirs shorter

2023-12-01 Thread Nick Bowler
On 2023-12-01 15:37, Jan Engelhardt wrote: > On Friday 2023-12-01 21:13, Mike Frysinger wrote: >> On 17 Jul 2023 16:51, Karl Berry wrote: >>> Hi Jan, >>> >>> Current automake likely won't have anything in store already, >>> >>> Not that I know of. >>> >>> a_SOURCES = $(addprefix

Re: Getting long SOURCES lines with subdirs shorter

2023-12-01 Thread Mike Frysinger
On 17 Jul 2023 16:51, Karl Berry wrote: > Hi Jan, > > Current automake likely won't have anything in store already, > > Not that I know of. > > a_SOURCES = $(addprefix aprog/,main.c foo.c bar.c baz.c) > > I've often wanted this myself. I'd certainly welcome a patch for it. > > Please

Re: Getting long SOURCES lines with subdirs shorter

2023-12-01 Thread Jan Engelhardt
On Friday 2023-12-01 21:13, Mike Frysinger wrote: >On 17 Jul 2023 16:51, Karl Berry wrote: >> Hi Jan, >> >> Current automake likely won't have anything in store already, >> >> Not that I know of. >> >> a_SOURCES = $(addprefix aprog/,main.c foo.c bar.c baz.c) >> >> I've often wanted

Re: Getting long SOURCES lines with subdirs shorter

2023-07-17 Thread Karl Berry
Hi Jan, Current automake likely won't have anything in store already, Not that I know of. a_SOURCES = $(addprefix aprog/,main.c foo.c bar.c baz.c) I've often wanted this myself. I'd certainly welcome a patch for it. Please work from automake trunk. None of the various branches are

Re: Getting long SOURCES lines with subdirs shorter

2023-07-17 Thread Václav Haisman
On 17. 07. 23 18:27, Václav Haisman wrote: On 17. 07. 23 0:55, Jan Engelhardt wrote: Given a_SOURCES = aprog/main.c aprog/foo.c aprog/bar.c aprog/baz.c ... The more source files there are to be listed, the longer that line gets, the bigger the Makefile.am fragment becomes, etc. I am

Re: Getting long SOURCES lines with subdirs shorter

2023-07-17 Thread Václav Haisman
On 17. 07. 23 0:55, Jan Engelhardt wrote: Given a_SOURCES = aprog/main.c aprog/foo.c aprog/bar.c aprog/baz.c ... The more source files there are to be listed, the longer that line gets, the bigger the Makefile.am fragment becomes, etc. I am thinking about how to cut that repetition

Re: Getting long SOURCES lines with subdirs shorter

2023-07-17 Thread Jan Engelhardt
On Monday 2023-07-17 06:55, John Darrington wrote: >Why not just write it as: > >a_SOURCES = aprog/main.c \ > aprog/foo.c \ > aprog/bar.c \ > aprog/baz.c ... You're missing the point. If you have a hundred, two hundred source files, all the aprog/ prefixes (and it's rarely *that* short)

Re: Getting long SOURCES lines with subdirs shorter

2023-07-17 Thread John Darrington
Why not just write it as: a_SOURCES = aprog/main.c \ aprog/foo.c \ aprog/bar.c \ aprog/baz.c ... ?? On Mon, Jul 17, 2023 at 12:55:59AM +0200, Jan Engelhardt wrote: > Given > > a_SOURCES = aprog/main.c aprog/foo.c aprog/bar.c aprog/baz.c ... > > The more source files there

Re: Getting long SOURCES lines with subdirs shorter

2023-07-16 Thread Jacob Bachmeyer
Jan Engelhardt wrote: Given a_SOURCES = aprog/main.c aprog/foo.c aprog/bar.c aprog/baz.c ... The more source files there are to be listed, the longer that line gets, the bigger the Makefile.am fragment becomes, etc. I am thinking about how to cut that repetition down. Current