[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#70169] [PATCH 5/7] maint: Generate 'doc/version-LANG.texi' reproduc
From: |
Janneke Nieuwenhuizen |
Subject: |
[bug#70169] [PATCH 5/7] maint: Generate 'doc/version-LANG.texi' reproducibly. |
Date: |
Wed, 03 Apr 2024 22:43:08 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Ludovic Courtès writes:
[cc: Timothy Samplet who created an early version of this patch]
> Janneke Nieuwenhuizen <janneke@gnu.org> skribis:
>
>> * doc/local.mk ($(srcdir)/doc/stamp-vti): Change rule into...
>> (version.texi-from-git): ...this new function. Call it with vti,guix.texi,;
>> and for all MANUAL_LANGUAGES with $(i),po/doc/guix-manual.$(lang).po,
>> -$(lang.po).
>>
>> Change-Id: Ia8df618178066cad320eecea0299337224e23a73
>
> [...]
>
>> +i:=0
>> +$(eval $(call version.texi-from-git,vti,doc/guix.texi,))
>> +$(foreach lang, $(MANUAL_LANGUAGES), \
>> + $(eval i=$(shell echo $$(($(i)+1)))) \
>> + $(eval $(call
>> version.texi-from-git,$(i),po/doc/guix-manual.$(lang).po,-$(lang))))
>
> Also, not sure why but I get this:
>
> make[2]: Entering directory '/home/ludo/src/guix'
> Makefile:7389: warning: overriding recipe for target 'doc/stamp-vti'
> Makefile:5111: warning: ignoring old recipe for target 'doc/stamp-vti'
> Makefile:7390: warning: overriding recipe for target 'override'
> Makefile:7389: warning: ignoring old recipe for target 'override'
> Makefile:7390: warning: overriding recipe for target 'doc/stamp-1'
> Makefile:5176: warning: ignoring old recipe for target 'doc/stamp-1'
> […]
Yes, sadly that's expected, and couldn't figure out how to avoid this.
Any ideas would be greatly appreciated. Automake will just create those
targets, and it seems we must override exactly those. May Timothy has
an idea?
- [bug#70169] [PATCH 2/7] maint: Use reproducible timestamps and name for tarball., (continued)
- [bug#70169] [PATCH 2/7] maint: Use reproducible timestamps and name for tarball., Janneke Nieuwenhuizen, 2024/04/03
- [bug#70169] [PATCH 4/7] maint: Help help2man generate reproducible man-pages., Janneke Nieuwenhuizen, 2024/04/03
- [bug#70169] [PATCH 1/7] maint: Cater for running `make dist' from a worktree., Janneke Nieuwenhuizen, 2024/04/03
- [bug#70169] [PATCH 5/7] maint: Generate 'doc/version-LANG.texi' reproducibly., Janneke Nieuwenhuizen, 2024/04/03
- [bug#70169] [PATCH 5/7] maint: Generate 'doc/version-LANG.texi' reproducibly., Ludovic Courtès, 2024/04/03
- [bug#70169] [PATCH 5/7] maint: Generate 'doc/version-LANG.texi' reproducibly.,
Janneke Nieuwenhuizen <=
- [bug#70169] [PATCH 3/7] maint: Generate 'doc/version.texi' reproducibly., Janneke Nieuwenhuizen, 2024/04/03
- [bug#70169] [PATCH 7/7] maint: Ensure generated file reproducibility for dist., Janneke Nieuwenhuizen, 2024/04/03
- [bug#70169] [PATCH 6/7] maint: Use reproducible Git timestamp for POT-Creation-Date., Janneke Nieuwenhuizen, 2024/04/03
- [bug#70169] [PATCH 0/7] Reproducible `make dist' tarball in defiance of Autotools and Gettext, Ludovic Courtès, 2024/04/03