diff options
author | Alejandro Colomar <alx@kernel.org> | 2024-02-23 15:38:59 +0100 |
---|---|---|
committer | Alejandro Colomar <alx@kernel.org> | 2024-02-25 10:50:53 +0100 |
commit | d3a1482d59c855eabc5493a433c155126c15d4c1 (patch) | |
tree | 2e122ff13b3879d31321d9a9245ab38d5f8d742e | |
parent | 26a2a1ca3c9a68c8a0eadcdbe30d1f8a21e329d3 (diff) | |
download | man-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.mk | 2 |
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') |