Commit graph

3 commits

Author SHA1 Message Date
Janneke Nieuwenhuizen
f83b5274c8
maint: Support `make doc-pot-update' from a tarball.
* build-aux/xgettext.scm: Move setting of environment variables to shell
header.
(main): Use SOURCE_DATE_EPOCH as fallback for timestamp.  This fixes running
from a tarball.
* Makefile.am (EXTRA_DIST): Add it.

Change-Id: Ic487587b22495868fd2a21545a13dc9e3458299c
2024-04-19 16:45:41 +02:00
Janneke Nieuwenhuizen
e5dda412c2
maint: Fix header.
* build-aux/xgettext.scm: Add `Guix' parts to header.

Change-Id: I4fb03b8b0588f0482bcb1a095518b6751d111031
2024-04-14 11:41:41 +02:00
Janneke Nieuwenhuizen
6c63c36677
maint: Use xgettext.scm wrapper to create .PO files reproducibly.
* build-aux/xgettext.scm: New script.
* po/guix/Makevars (XGETTEXT): Set it.
(XGETTEXT_OPTIONS): Add --xgettext option to `real' xgettext.
* po/packages/Makevars (XGETTEXT): Set it.
(XGETTEXT_OPTIONS): Add --xgettext option to `real' xgettext.

Change-Id: I71b6b843970090f765f46ac346b92a346560e3f0
2024-04-14 10:29:11 +02:00