]> git.sesse.net Git - ffmpeg/blobdiff - Makefile
lavu: add an API function to return the Libav version string
[ffmpeg] / Makefile
index cc016b3cd11135470dd2c7f01dea53bd63a03de9..5807acd562b12cbfc52639a6ef54d9b4d02b0b79 100644 (file)
--- 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)