]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
share/mk/configure/version.mk: $DISTNAME: Pass --dirty to git-describe(1)
authorAlejandro Colomar <alx@kernel.org>
Fri, 23 Feb 2024 14:38:59 +0000 (15:38 +0100)
committerAlejandro Colomar <alx@kernel.org>
Sun, 25 Feb 2024 09:50:53 +0000 (10:50 +0100)
This makes sure we don't accidentally produce release tarballs from a
dirty repository.

Signed-off-by: Alejandro Colomar <alx@kernel.org>
share/mk/configure/version.mk

index da2203239caab64fcaa5b8f731ae9dc9b5ce5c4c..7d10fd1d3c69878bb67c64b8c5ac67689922b034 100644 (file)
@@ -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')