summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorwm4 <nfxjfg@googlemail.com>2015-07-02 19:04:59 +0200
committerJanne Grunau <janne-libav@jannau.net>2015-07-02 23:22:53 +0200
commit1316df7aa98c4784f190d107206d0bb12c590b89 (patch)
treebc8922c649dd88312f81b9521bc82660c7c65fe3 /Makefile
parenta31c4b2cbef9aee15910fc3df52519aef46760de (diff)
lavu: add an API function to return the Libav version string
This returns something like "v12_dev0-1332-g333a27c". This is much more useful than the individual library versions, of which there are too many, and which are very hard to map back to releases or git commits. Signed-off-by: Janne Grunau <janne-libav@jannau.net>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index cc016b3cd1..5807acd562 100644
--- a/Makefile
+++ b/Makefile
@@ -162,8 +162,8 @@ GIT_LOG = $(SRC_PATH)/.git/logs/HEAD
.version: $(wildcard $(GIT_LOG)) $(VERSION_SH) config.mak
.version: M=@
-version.h .version:
- $(M)$(VERSION_SH) $(SRC_PATH) version.h $(EXTRA_VERSION)
+avversion.h .version:
+ $(M)$(VERSION_SH) $(SRC_PATH) avversion.h $(EXTRA_VERSION)
$(Q)touch .version
# force version.sh to run whenever version might have changed
@@ -204,7 +204,7 @@ clean::
distclean::
$(RM) $(DISTCLEANSUFFIXES)
- $(RM) config.* .config libavutil/avconfig.h .version version.h
+ $(RM) config.* .config libavutil/avconfig.h .version avversion.h
config:
$(SRC_PATH)/configure $(value LIBAV_CONFIGURATION)