aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/update_timestamps.sh
AgeCommit message (Collapse)AuthorFilesLines
2022-10-09dist.mk, All pages: .TH: Generate date at 'make dist'Alejandro Colomar1-19/+0
Replace the date by a placeholder (date) in the repo, as we're doing with the version (unreleased). It will be filled when the tarball is generated with 'make dist' (or equivalent) with the date of the most recent git commit that modifies the page (as was done previously by update_timestamps.sh, which has been removed). Scripted change (mostly): $ find man* -type f \ | xargs sed -Ei '/^\.TH /s/.TH +([^ ]+ +[^ ]+) +[^ ]+ +(.*)/.TH \1 (date) \2/' Signed-off-by: Alejandro Colomar <alx@kernel.org>
2022-10-09update_timestamps.sh: Ignore inexistent filesAlejandro Colomar1-0/+1
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2022-06-08update_timestamps.sh: Add script to update the pages' timestampsAlejandro Colomar1-0/+18
This differs from what was being done until now. Before, we were updating the timestamp with the date of the release, but that's unnecessarily unprecise. With this, we have the actual date of when the last change was committed. Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>