The commentary in build-aux/git-version-gen illustrates how the files
.version and .tarball-version could be generated:
$(top_srcdir)/.version:
echo '$(VERSION)' > $@-t
mv $@-t $@
dist-hook:
echo '$(VERSION)' > $(distdir)/.tarball-version
I'm curious why one recipe
Paul Eggert [2024-06-03 14:09 -0700] wrote:
> N2956 has a typo. In this statement:
>
> "Similarly, GCC’s pure is less restricted than the new standard attribute
> [[reproducible]], and an implementation of the GCC feature is, syntax aside,
> an
> implementation of the new standard attribute."
>
Bruno Haible [2024-05-31 15:03 +0200] wrote:
> Basil L. Contovounesios wrote:
>> Isn't this saying that C23 [[reproducible]] is stricter than GCC pure?
>> https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2956.htm#some-differences-with-gcc-const-and-pure
> Yes: [1], section "
Paul Eggert [2024-05-28 08:37 -0700] wrote:
> + can depend on observable state. It is stricter than
> + _GL_ATTRIBUTE_REPRODUCIBLE because the function must return exactly
> + once and cannot affect state addressed by its arguments.) */
> /* Applies to: functions. */
> #ifndef
Collin Funk [2024-03-17 15:03 -0700] wrote:
> +if len(cleansed) > 0:
> +return '\n'.join(cleansed)
> +else:
> +return ''
FWIW '\n'.join([]) is '', so perhaps it isn't necessary to check
len(cleansed).
Thanks,
--
Basil