ref: 53e9987b4d6514c265ee3b41d1b382d4ebddc71b
parent: 0e43668546010bf0a9ece398effb37beca5dbea5
author: Ralph Giles <giles@entropywave.com>
date: Mon Mar 28 07:36:53 EDT 2011
Export the version string as a makefile variable. The configure script exports the major/minor/patch version numbers, but didn't make the full version string available to Makefile recipes and rules, the way it is available to C code from vpx_version.h. Change-Id: Ic6a9d4c574a6ea66a50c928f4eedeb91d7668eb5
--- a/configure
+++ b/configure
@@ -377,6 +377,7 @@
if [ -f "${source_path}/build/make/version.sh" ]; then
local ver=`"$source_path/build/make/version.sh" --bare $source_path`
DIST_DIR="${DIST_DIR}-${ver}"
+ VERSION_STRING=${ver}
ver=${ver%%-*}
VERSION_PATCH=${ver##*.}
ver=${ver%.*}
@@ -391,6 +392,8 @@
DIST_DIR?=\$(DESTDIR)${prefix}
endif
LIBSUBDIR=${libdir##${prefix}/}
+
+VERSION_STRING=${VERSION_STRING}
VERSION_MAJOR=${VERSION_MAJOR}
VERSION_MINOR=${VERSION_MINOR}
--
⑨