diff options
| author | Janneke Nieuwenhuizen <janneke@gnu.org> | 2024-04-14 09:42:25 +0200 |
|---|---|---|
| committer | Janneke Nieuwenhuizen <janneke@gnu.org> | 2024-04-19 16:45:41 +0200 |
| commit | 2b8a2a6e723a0cf987c814865df9368e6348b6f8 (patch) | |
| tree | f735021713cf8b64d13bfd4cab171510d32b0ce7 /bootstrap | |
| parent | a47f2288615099d7cc25f833a0e9a60b27c4ea79 (diff) | |
maint: Generate doc/version[-LANG].texi using `mdate-from-git.scm'.
This replaces Automake's `build-aux/mdate-sh' with our own
`build-aux/mdate-from-git.scm' to use reproducible timestamps from Git
instead.
* build-aux/mdate-from-git.scm: New script.
* bootstrap: Use it to replace build-aux/mdate-sh.
* Makefile.am (EXTRA_DIST): Add it.
Change-Id: I17d0a7de9ffea397129c0db1728f86e28a4e245f
Diffstat (limited to 'bootstrap')
| -rwxr-xr-x | bootstrap | 8 |
1 files changed, 7 insertions, 1 deletions
| @@ -24,4 +24,10 @@ for lang in ${langs}; do | |||
| 24 | fi | 24 | fi |
| 25 | done | 25 | done |
| 26 | 26 | ||
| 27 | exec autoreconf -vfi | 27 | autoreconf -vfi |
| 28 | |||
| 29 | # Replace Automake's build-aux/mdate-sh with build-aux/mdate-from-git, our | ||
| 30 | # own, reproducible version. | ||
| 31 | chmod +w build-aux/mdate-sh | ||
| 32 | rm -f build-aux/mdate-sh | ||
| 33 | ln -s mdate-from-git.scm build-aux/mdate-sh | ||
