Skip to content

Commit

Permalink
Prevent make from failing if git tags are not found
Browse files Browse the repository at this point in the history
  • Loading branch information
bynect committed Feb 20, 2024
1 parent 7775775 commit 3dd0109
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ include config.mk

VERSION := "1.10.0-non-git"
ifneq ($(wildcard ./.git/),)
VERSION := $(shell ${GIT} describe --tags)
VERSION := $(shell ${GIT}x describe --tags 2>/dev/null || echo ${VERSION})
endif

SYSTEMD ?= $(shell $(PKG_CONFIG) --silence-errors ${SYSTEMDAEMON} || echo 0)
Expand Down

0 comments on commit 3dd0109

Please sign in to comment.