aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2024-02-23 15:38:59 +0100
committerAlejandro Colomar <alx@kernel.org>2024-02-25 10:50:53 +0100
commitd3a1482d59c855eabc5493a433c155126c15d4c1 (patch)
tree2e122ff13b3879d31321d9a9245ab38d5f8d742e
parent26a2a1ca3c9a68c8a0eadcdbe30d1f8a21e329d3 (diff)
downloadman-pages-d3a1482d59c855eabc5493a433c155126c15d4c1.tar.gz
share/mk/configure/version.mk: $DISTNAME: Pass --dirty to git-describe(1)
This makes sure we don't accidentally produce release tarballs from a dirty repository. Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r--share/mk/configure/version.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/mk/configure/version.mk b/share/mk/configure/version.mk
index da2203239c..7d10fd1d3c 100644
--- a/share/mk/configure/version.mk
+++ b/share/mk/configure/version.mk
@@ -12,7 +12,7 @@ include $(MAKEFILEDIR)/configure/build-depends/git.mk
include $(MAKEFILEDIR)/configure/verbose.mk
-DISTNAME := $(shell $(GIT) describe)
+DISTNAME := $(shell $(GIT) describe --dirty)
DISTVERSION := $(patsubst man-pages-%,%,$(DISTNAME))
DISTDATE := $(shell $(GIT) log -1 --format='%aD')