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
2012-10-02 23:24:09 +02:00
parent 6325183dc3
commit 53a60495b5

View File

@@ -210,7 +210,7 @@ INSTALL_DIR=kindlepdfviewer
LUA_FILES=alt_getopt.lua commands.lua crereader.lua dialog.lua djvureader.lua extentions.lua filechooser.lua filehistory.lua fileinfo.lua filesearcher.lua font.lua graphics.lua helppage.lua image.lua inputbox.lua keys.lua pdfreader.lua reader.lua rendertext.lua screen.lua selectmenu.lua settings.lua unireader.lua widget.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