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

Diego Biurrun git at videolan.org
Thu Oct 12 00:35:20 EEST 2017


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Tue Feb 28 22:12:18 2017 +0100| [4d1f7e8bc7516e6b7b15f754af4a665b3f8af79e] | committer: Diego Biurrun

build: Skip generating .version files when cleaning

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

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

diff --git a/avbuild/library.mak b/avbuild/library.mak
index be6098c9ff..227e4d5d48 100644
--- a/avbuild/library.mak
+++ b/avbuild/library.mak
@@ -1,6 +1,8 @@
 include $(SRC_PATH)/avbuild/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