Skip to content

Commit

Permalink
Merge pull request #1287 from bynect/fix-make
Browse files Browse the repository at this point in the history
Prevent make from failing if git tags are not found
  • Loading branch information
bynect authored Feb 29, 2024
2 parents 992ad9e + 4e8f762 commit ab38321
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} describe --tags 2>/dev/null || echo ${VERSION})
endif

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

0 comments on commit ab38321

Please sign in to comment.