aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2017-02-28 22:12:18 +0100
committerDiego Biurrun <diego@biurrun.de>2017-03-01 09:42:39 +0100
commit4d1f7e8bc7516e6b7b15f754af4a665b3f8af79e (patch)
treede8da53349c464a7432399f67eb8e054735ddc14
parent58407b4d74c99e30dbd40fe468c69dbd25ea4255 (diff)
downloadffmpeg-4d1f7e8bc7516e6b7b15f754af4a665b3f8af79e.tar.gz
build: Skip generating .version files when cleaning
-rw-r--r--avbuild/library.mak2
1 files changed, 2 insertions, 0 deletions
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)