summaryrefslogtreecommitdiffstats
path: root/lib/version.mk
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2023-04-11 22:33:44 +0200
committerAlejandro Colomar <alx@kernel.org>2023-04-11 22:44:03 +0200
commit254fe38b229dd37f9128fa39d4e8a29d40433388 (patch)
treef33a6114aa9af39a9d7edfee4d750f452f96f64e /lib/version.mk
parent121c8de01732bc36daea563edf5764bd3f0f8720 (diff)
dist.mk, version.mk: Create reproducible tarballsman-pages-6.05-a1
Anyone can create a tarball from a release tag, and it should be identical to the release tarball, so that the PGP signature made at the release matches. This is useful for distributors. Suggested-by: Marcos Fouces <marcos@debian.org> Signed-off-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to 'lib/version.mk')
-rw-r--r--lib/version.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/version.mk b/lib/version.mk
index 1a8fa53c2..1d17b6c99 100644
--- a/lib/version.mk
+++ b/lib/version.mk
@@ -14,6 +14,7 @@ include $(srcdir)/lib/verbose.mk
DISTNAME := $(shell $(GIT) describe $(HIDE_ERR))
DISTVERSION := $(patsubst man-pages-%,%,$(DISTNAME))
+DISTDATE := $(shell $(GIT) log -1 --format='%aD')
endif # MAKEFILE_VERSION_INCLUDED