use git describe to generate version

Last release had git annotate tag (added with git -a) so this is
now much better alternative to just git sha1
This commit is contained in:
Dobrica Pavlinusic authored and Qingping Hou committed 2012-10-02 20:18:21 -04:00
1 parent 47e5065d6a
commit c6ead8690e
1 file changed
+1 -1
+1 -1
View File
@@ -214,7 +214,7 @@ INSTALL_DIR=kindlepdfviewer
LUA_FILES=reader.lua
VERSION?=$(shell git rev-parse --short HEAD)
VERSION?=$(shell git describe HEAD)
customupdate: all
# ensure that build binary is for ARM
file kpdfview | grep ARM || exit 1