On Wed, Jan 04, 2023 at 01:31:22PM +0100, Patrice Dumas wrote: > On Tue, Jan 03, 2023 at 09:28:03PM +0000, Gavin Smith wrote: > > On Mon, Jan 02, 2023 at 03:46:56PM +0000, Gavin Smith wrote: > > > One way of fixing this might be to put the generated file in a > > > subdirectory so that make can't see it. Or it might not be worth > > > bothering as this version of make and/or operating system isn't > > > very important. Another alternative is to remove the Latin-1 filename > > > tests completely for all systems. > > > > A patch for the first way is at the bottom of this mail. It only > > involves changing two files. Any comments? > > Looks good to me and probably saner not to generate files directly in > the source directory.
The files were being generated in the build directory, not the source directory, which would be different directories in the case of an out-of-source build. This is checked by "make distcheck" which makes the source directory read-only. > A potential issue, maybe the distclean-local: > rule should now be rm -rf since built_input is a directory. You're right.
