Hi Marc,

Marc Nieper-Wißkirchen asked:
> What is the suggested workflow for "gnulib-tool --copy-file",
> described in chapter 20 of the manual? Am I supposed to add the copied
> file under version control so that a fresh checkout works out of the
> box?

While some packages may do that, the main use of gnulib-tool is with
packages that *don't* put imported and generated files under version control.

> Or is it the idea to add an invocation to 'gnulib-tool --copy-file" to
> bootstrap_post_import_hook? If that is the case, may I suggest adding
> a bootstrap variable, say, "gnulib_files" that will cause bootstrap to
> copy the files automatically?

Such a variable already exists; it's called 'gnulib_extra_files'.
See e.g. [1][2].

Documentation improvement patch welcome!

Bruno

[1] 
https://gitweb.git.savannah.gnu.org/gitweb/?p=findutils.git;a=blob;f=bootstrap.conf;h=15eac86602fae3051b504341839e1e4de706a2ae;hb=HEAD#l21
[2] https://lists.gnu.org/archive/html/bug-bison/2025-07/txtjqlJnh50yL.txt




Reply via email to