From 7e5e596cb37267402e4ae6527c018305ef2416cc Mon Sep 17 00:00:00 2001 From: Zygmunt Krynicki <zygmunt.krynicki@huawei.com> Date: Thu, 25 Mar 2021 17:47:52 +0100 Subject: [PATCH] Makefile: add dependencies to $(BUILD_DIR) goal Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@huawei.com> --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 973359e..ecbca05 100644 --- a/Makefile +++ b/Makefile @@ -11,6 +11,5 @@ clean: rm -rf build SRC_DIR ?= . -# XXX: cannot add true dependencies because some file names contain spaces. -$(BUILD_DIR): +$(BUILD_DIR): $(filter-out README.rst contributing/project.rst experimental/%,$(shell find $(SRC_DIR) -name '*.rst')) sphinx-build -W $(SRC_DIR) $(BUILD_DIR) -- GitLab