summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@server-speed.net>2011-01-22 15:41:33 +0100
committerFlorian Pritz <bluewind@server-speed.net>2011-01-22 16:12:51 +0100
commit03fc3d8e78baa21b31eee9040c9f8981f4f8e3bc (patch)
treefa035c4f564bd204cd81dc72e435ae75e3053aac
parente080112efe49b42828234a5fc86a9f6200eb383e (diff)
use --dirty in the version
This add -dirty to the version string if the working copy has been modified. Signed-off-by: Florian Pritz <bluewind@server-speed.net>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7252bc2..eeb2679 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-VERSION:=$(shell git describe | sed 's/^v//')
+VERSION:=$(shell git describe --dirty | sed 's/^v//')
MANDIR=/usr/share/man
BINDIR=/usr/bin