Android: Add githash header to spare rebuilds after new commits
authorest31 <MTest31@outlook.com>
Fri, 31 Jul 2015 14:38:36 +0000 (16:38 +0200)
committerest31 <MTest31@outlook.com>
Sat, 1 Aug 2015 18:42:07 +0000 (20:42 +0200)
commitc39a85a88d1f905014c1ced6b87638cdb01e6ddf
treed30e5ffda258321f944d2833de363412900fca46
parent7919318be715e3bf60f01b7c63816a3e5802176d
Android: Add githash header to spare rebuilds after new commits

Before, android_version.h got changed at every new commit. Now, we
only change it with new minetest releases. Analogous to how cmake
does it,  we add an android_version_githash.h file that communicates
the git hash to C++ code.

Also, unify VERS_MAJOR, VERS_MINOR and VERS_PATCH variable
calculation inside the whole makefile.
.gitignore
build/android/Makefile
src/version.cpp