From c39a85a88d1f905014c1ced6b87638cdb01e6ddf Mon Sep 17 00:00:00 2001 From: est31 Date: Fri, 31 Jul 2015 16:38:36 +0200 Subject: 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 | 1 + 1 file changed, 1 insertion(+) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index 42cb718a3..12143656a 100644 --- a/.gitignore +++ b/.gitignore @@ -39,6 +39,7 @@ doc/doxygen_* CMakeFiles/* src/CMakeFiles/* src/Makefile +src/android_config_githash.h src/android_version.h src/cmake_config.h src/cmake_config_githash.h -- cgit v1.2.3