Patrice Dumas wrote: > > > Here is a recipe to get differences between in source and out of source > > > distributions. There are some changes for generated files, which seem > > > innocuous, but may be an issue for reproductibility, as well as the > > > difference for texi2any_internals.texi. > > > > Thanks, I'll try it. > > If we really want to support make dist in out of source builds, I think > that we sould make sure that there are no differences at all between in > source and out of source distributions. This should not be difficult > for some file we generate, but there are also some gperf generated files > in gnulib that have some srcdir prepended, which may be more challenging > to get right.
Very good point. Yes, I confirm, after "make maintainer-clean", the gperf-generated .h files differ when built through "make" from a subdir vs. through "make" from the source dir. For some .y files, I already encountered and eliminated the issue [1]; for .gperf files, I still need to do it. It's easy to do: Just some post-processing with 'sed'. Bruno [1] https://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=blob;f=modules/parse-datetime;h=e8ac3e725d00bf024cf6df0028a7c223b70c0c1c;hb=HEAD line 54