From: GiWoong Kim Date: Wed, 3 Jul 2013 07:41:03 +0000 (+0900) Subject: emulator: logging for the latest git tag X-Git-Tag: Tizen_Studio_1.3_Release_p2.3.1~924^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1ad2fdbe5b0c869bfd015e9cba8040e9b8099e5f;p=sdk%2Femulator%2Fqemu.git emulator: logging for the latest git tag logging for the latest git tag Change-Id: I49ed234f644b9ab73bcd592251afed6cf806a5c5 Signed-off-by: GiWoong Kim --- diff --git a/tizen/src/Makefile b/tizen/src/Makefile index ec4c96c8f5..4b35d6f29e 100644 --- a/tizen/src/Makefile +++ b/tizen/src/Makefile @@ -44,12 +44,14 @@ skin_client: ant -buildfile skin/client/build.xml make-jar build_info: + @echo "Generate a build information file" @echo "/* Automatically generated by Makefile - do not modify! */" > build_info.h @echo "const char build_version[] = \"`cat VERSION`\";" >> build_info.h @echo "const char build_date[] = \"`date +"%F %T %Z"`\";" >> build_info.h @echo "const char pkginfo_version[] = \"`sed -n '1p' ./../../package/pkginfo.manifest`\";" >> build_info.h @echo "const char pkginfo_maintainer[] = \"`sed -n '2p' ./../../package/pkginfo.manifest`\";" >> build_info.h @echo "const char pkginfo_githead[] = \"`git rev-parse HEAD`\";" >> build_info.h + @echo "const char latest_gittag[] = \"`git for-each-ref --count=1 --sort=-taggerdate refs/tags/ --format='Latest Git Tag : %(refname:short) (%(subject))'`\";" >> build_info.h ffmpeg: cd ../distrib/libav/ && $(MAKE) diff --git a/tizen/src/emulator.c b/tizen/src/emulator.c index 63656c7d74..cba2669f7b 100644 --- a/tizen/src/emulator.c +++ b/tizen/src/emulator.c @@ -309,6 +309,7 @@ static void print_system_info(void) INFO("* Package %s\n", pkginfo_version); INFO("* Package %s\n", pkginfo_maintainer); INFO("* Git Head : %s\n", pkginfo_githead); + INFO("* %s\n", latest_gittag); INFO("* User name : %s\n", g_get_real_name()); INFO("* Host name : %s\n", g_get_host_name());