diff options
| -rw-r--r-- | doc/local.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/local.mk b/doc/local.mk index 18bd5999620..a653a324200 100644 --- a/doc/local.mk +++ b/doc/local.mk | |||
| @@ -224,6 +224,9 @@ gen_man = \ | |||
| 224 | $(HELP2MANFLAGS) | 224 | $(HELP2MANFLAGS) |
| 225 | 225 | ||
| 226 | HELP2MANFLAGS = --source=GNU --info-page=$(PACKAGE_TARNAME) | 226 | HELP2MANFLAGS = --source=GNU --info-page=$(PACKAGE_TARNAME) |
| 227 | # help2man reproducibility | ||
| 228 | SOURCE_DATE_EPOCH = $(shell git show HEAD --format=%ct --no-patch 2>/dev/null || echo 1) | ||
| 229 | export SOURCE_DATE_EPOCH | ||
| 227 | 230 | ||
| 228 | $(srcdir)/%D%/guix.1: scripts/guix.in $(sub_commands_mans) | 231 | $(srcdir)/%D%/guix.1: scripts/guix.in $(sub_commands_mans) |
| 229 | -$(AM_V_HELP2MAN)$(gen_man) --output="$@" `basename "$@" .1` | 232 | -$(AM_V_HELP2MAN)$(gen_man) --output="$@" `basename "$@" .1` |
