Update build version to flag a dirty working copy

When building with a dirty working copy, that should be made clear in
the build version.  This avoids building from a dirty working copy based
directly from a tag, where it's not obvious that the build contains
local modifications that have not been committed.
This commit is contained in:
John Reese 2013-08-27 16:45:22 -07:00
parent f6e4801c93
commit 97791061a7
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
version := $(shell git describe)
version := $(shell git describe --dirty)
push.so: push.cpp
sed -i -e "s|PUSHVERSION \".*\"|PUSHVERSION \"$(version)\"|" push.cpp