git.99rst.org
/
znc-palaver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
d0a8db1
)
Support VERSION files
author
Kyle Fuller
<redacted>
Wed, 30 Sep 2015 16:15:55 +0000
(09:15 -0700)
committer
Kyle Fuller
<redacted>
Wed, 30 Sep 2015 16:15:55 +0000
(09:15 -0700)
Makefile
patch
|
blob
|
history
VERSION
[new file with mode: 0644]
patch
|
blob
diff --git
a/Makefile
b/Makefile
index 252d2e66375be851252551bfc930ac0dd84f3920..241973db2b980cc7886488db7511e0f057b91293 100644
(file)
--- 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
(file)
index 0000000..
3eefcb9
--- /dev/null
+++ b/
VERSION
@@ -0,0
+1
@@
+1.0.0
git clone https://git.99rst.org/PROJECT