Skip to content

Commit

Permalink
Pass --tags to git describe
Browse files Browse the repository at this point in the history
Fixes #1003.
  • Loading branch information
baskerville committed Aug 26, 2019
1 parent f055834 commit df7c6cc
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
@@ -1,4 +1,4 @@
VERCMD ?= git describe 2> /dev/null
VERCMD ?= git describe --tags 2> /dev/null
VERSION := $(shell $(VERCMD) || cat VERSION)

CPPFLAGS += -D_POSIX_C_SOURCE=200809L -DVERSION=\"$(VERSION)\"
Expand Down

0 comments on commit df7c6cc

Please sign in to comment.