]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
share/mk/configure/version.mk: $DISTNAME: Don't hide git(1) errors
authorAlejandro Colomar <alx@kernel.org>
Fri, 23 Feb 2024 14:30:23 +0000 (15:30 +0100)
committerAlejandro Colomar <alx@kernel.org>
Sun, 25 Feb 2024 09:50:53 +0000 (10:50 +0100)
We don't call git(1) inside tarballs anymore to get the $DISTNAME, so we
can safely assume that git(1) should never fail, and if it fails, we
better get an error message.

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

index 4f85929e1decedcd53fe04144a23513153e929c2..da2203239caab64fcaa5b8f731ae9dc9b5ce5c4c 100644 (file)
@@ -12,7 +12,7 @@ include $(MAKEFILEDIR)/configure/build-depends/git.mk
 include $(MAKEFILEDIR)/configure/verbose.mk
 
 
-DISTNAME    := $(shell $(GIT) describe $(HIDE_ERR))
+DISTNAME    := $(shell $(GIT) describe)
 DISTVERSION := $(patsubst man-pages-%,%,$(DISTNAME))
 DISTDATE    := $(shell $(GIT) log -1 --format='%aD')