From cbe181c8e1611aaee2a85ab522e17b1322bdd4de Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Tue, 28 Feb 2017 22:12:00 +0100 Subject: [PATCH] build: Skip generating .version files when cleaning Signed-off-by: James Almer --- 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)