summaryrefslogtreecommitdiff
path: root/ffbuild
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2017-02-28 22:12:00 +0100
committerJames Almer <jamrial@gmail.com>2017-09-10 01:22:57 -0300
commitcbe181c8e1611aaee2a85ab522e17b1322bdd4de (patch)
tree3a2a06ae63c1c7409470c3cb825d03e16ae8bc0e /ffbuild
parent27a86b8ece6fa86827da90ff39eba339cf8ff449 (diff)
downloadffmpeg-cbe181c8e1611aaee2a85ab522e17b1322bdd4de.tar.gz
build: Skip generating .version files when cleaning
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'ffbuild')
-rw-r--r--ffbuild/library.mak2
1 files changed, 2 insertions, 0 deletions
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)