[FFmpeg-cvslog] build: Skip generating .version files when cleaning

Diego Biurrun git at videolan.org
Sun Sep 10 07:27:06 EEST 2017


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Tue Feb 28 22:12:00 2017 +0100| [cbe181c8e1611aaee2a85ab522e17b1322bdd4de] | committer: James Almer

build: Skip generating .version files when cleaning

Signed-off-by: James Almer <jamrial at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=cbe181c8e1611aaee2a85ab522e17b1322bdd4de
---

 ffbuild/library.mak | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/ffbuild/library.mak b/ffbuild/library.mak
index 22f1e4c37f..ee19c3c797 100644
--- a/ffbuild/library.mak
+++ b/ffbuild/library.mak
@@ -1,6 +1,8 @@
 include $(SRC_PATH)/ffbuild/common.mak
 
+ifeq (,$(filter %clean,$(MAKECMDGOALS)))
 -include $(SUBDIR)lib$(NAME).version
+endif
 
 LIBVERSION := $(lib$(NAME)_VERSION)
 LIBMAJOR   := $(lib$(NAME)_VERSION_MAJOR)



More information about the ffmpeg-cvslog mailing list