From: Kyle Fuller Date: Wed, 30 Sep 2015 16:15:55 +0000 (-0700) Subject: Support VERSION files X-Git-Tag: 1.0.1~2 X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=a11596a0be02a5db97d8e4b57f07302e54a380c2;p=znc-palaver.git Support VERSION files --- diff --git a/Makefile b/Makefile index 252d2e6..241973d 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ CXXFLAGS := -Wno-unknown-pragmas -PALAVER_VERSION := $(shell git describe --tags --always --dirty 2> /dev/null) +PALAVER_VERSION := $(shell git describe --tags --always --dirty 2> /dev/null || cat VERSION) ifneq "$(PALAVER_VERSION)" "" CXXFLAGS += -DPALAVER_VERSION=\"$(PALAVER_VERSION)\" diff --git a/VERSION b/VERSION new file mode 100644 index 0000000..3eefcb9 --- /dev/null +++ b/VERSION @@ -0,0 +1 @@ +1.0.0