[FFmpeg-cvslog] build: Make library minor version visible in the Makefile
Diego Biurrun
git at videolan.org
Tue Feb 12 13:34:35 CET 2013
ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Sun Feb 3 15:03:08 2013 +0100| [304b806cb524fb040f8e09a241040f1af2cb820b] | committer: Diego Biurrun
build: Make library minor version visible in the Makefile
This allows employing that number in library install commands.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=304b806cb524fb040f8e09a241040f1af2cb820b
---
configure | 1 +
library.mak | 1 +
2 files changed, 2 insertions(+)
diff --git a/configure b/configure
index 0d55bba..0731c27 100755
--- a/configure
+++ b/configure
@@ -3958,6 +3958,7 @@ get_version(){
eval ${name}_VERSION=\$${name}_VERSION_MAJOR.\$${name}_VERSION_MINOR.\$${name}_VERSION_MICRO
eval echo "${lcname}_VERSION=\$${name}_VERSION" >> config.mak
eval echo "${lcname}_VERSION_MAJOR=\$${name}_VERSION_MAJOR" >> config.mak
+ eval echo "${lcname}_VERSION_MINOR=\$${name}_VERSION_MINOR" >> config.mak
}
map 'get_version $v' $LIBRARY_LIST
diff --git a/library.mak b/library.mak
index 3b4bd2d..f3e4427 100644
--- a/library.mak
+++ b/library.mak
@@ -4,6 +4,7 @@ include $(SRC_PATH)/common.mak
LIBVERSION := $(lib$(NAME)_VERSION)
LIBMAJOR := $(lib$(NAME)_VERSION_MAJOR)
+LIBMINOR := $(lib$(NAME)_VERSION_MINOR)
INCINSTDIR := $(INCDIR)/lib$(NAME)
INSTHEADERS := $(INSTHEADERS) $(HEADERS:%=$(SUBDIR)%)
More information about the ffmpeg-cvslog
mailing list