v2: - simplified the code - the version information is created in configure.ac
I think we should not touch the VERSION and CONNMAN_VERSION strings as they are used by plugin system. So instead I introduced CONNMAN_DETAILED_VERSION define that is used by --version cmd line option and when initializing the log. Cheers, Jukka Jukka Rissanen (2): build: Script to generate current git HEAD commit id build: Use detailed version information when printing connman version configure.ac | 4 ++++ include/version.h.in | 1 + src/get-git-head | 12 ++++++++++++ src/main.c | 5 +++-- vpn/main.c | 3 ++- 5 files changed, 22 insertions(+), 3 deletions(-) create mode 100755 src/get-git-head -- 1.7.11.4 _______________________________________________ connman mailing list [email protected] http://lists.connman.net/listinfo/connman
