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)
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());