PS: Alternatively to the suggestion of a new gnulib-tool option "--vc-files=...", one could also make Gnulib's behavior dependent on the presence of a file, say ".gnulib-in-tree-build". This has the advantage that no source files have to be changed to switch from one behavior to the other but that, in principle, a developer can decide to switch to in-tree builds by touching such a file locally. Am Fr., 9. Apr. 2021 um 13:16 Uhr schrieb Marc Nieper-Wißkirchen < marc.nieper+gnu@gmail.com>: > I have been experimenting a bit with building in a dedicated build > directory. Nevertheless, I still end up with artefacts in the source > directory, which are not covered by Gnulib's .gitignore files, for example > with: > > lib/iconv_open-aix.h > lib/iconv_open-hpux.h > lib/iconv_open-irix.h > lib/iconv_open-osf.h > lib/iconv_open-solaris.h > lib/iconv_open-zos.h > > Thanks, > > Marc > > Am Sa., 3. Apr. 2021 um 12:22 Uhr schrieb Bruno Haible : > >> Marc Nieper-Wißkirchen wrote: >> > Would it do much harm if ".gitignore" included all built files even for >> > developers that work in a dedicated build tree? >> >> The developers who are using the first approach will not like this. >> >> Bruno >> >>