build: Skip generating .version files when cleaning

Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
Diego Biurrun 2017-02-28 22:12:00 +01:00 committed by James Almer
parent 27a86b8ece
commit cbe181c8e1
1 changed files with 2 additions and 0 deletions

View File

@ -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)