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 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-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 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

bug#19614: Split packaging invocation to catch errors

2023-07-17 Thread Karl Berry
Hi Dimitrios, Bogdan - back on this bug from 2015 (sorry): https://debbugs.gnu.org/cgi/bugreport.cgi?bug=19614 Bogdan sent a patch that splits the tar and compress into separate invocations. It seems basically good to me, but the dist-formats test fails because it builds multiple archive