On 04.05.19 18:13, Bruno Haible wrote: > Tim Rühsen wrote: >> Both, 'po/Makevars' and 'po/Makevars.template' are overwritten by >> './bootstrap' (the gnulib bootstrap) (adding to git doesn't matter). > > po/Makevars is meant to contain *package-specific* customizations > of the gettext integration. > > If 'bootstrap' overwrites it, surely it has a way to override this > behaviour (in bootstrap.conf)?
Nothing documented found. After reading some code, it seems po/Makevars is left alone when removing AM_GNU_GETTEXT_VERSION([0.17]) from configure.ac. Good, but now I am back at the original reported error :-( The wget.po created in the vpath build still contains just 'wget' instead of 'GNU Wget' due to if LC_ALL=C grep 'GNU @PACKAGE@' $(top_srcdir)/* 2>/dev/null | grep -v 'libtool:' >/dev/null; then \ package_gnu='GNU '; \ else \ package_gnu=''; \ fi; \ That is, package_gnu is empty due to not finding 'GNU wget' in the main project/tarball dir. Of course I could just generate a file with such a signature, but it feels like a hack. And I wonder how other GNU projects do it. GNU Wget2 has the same issue. GNU Libidn2 names itself just 'libidn2' everywhere - so the 'cmp' works (by random). Thank you for your patience and time, Bruno. Regards, Tim
signature.asc
Description: OpenPGP digital signature