From: Michael Pratt Date: Sun, 7 May 2023 23:33:40 +0000 (-0400) Subject: sdk: do not exclude all doc directories X-Git-Tag: v23.05.0-rc1~302 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F12563%2Fhead;p=thirdparty%2Fopenwrt.git sdk: do not exclude all doc directories Some packages which are using local gnulib source are expecting files to exist in the directory: staging_dir/host/share/gnulib/doc so delete the other doc directories directly instead of excluding all of them. Fixes: d167adbc4 ("gettext-full: bootstrap to local gnulib source") Signed-off-by: Michael Pratt --- diff --git a/target/sdk/Makefile b/target/sdk/Makefile index d9f67dae9ef..b688eb4cba0 100644 --- a/target/sdk/Makefile +++ b/target/sdk/Makefile @@ -32,7 +32,6 @@ EXCLUDE_DIRS:= \ *.install.clean \ *.install.flags \ *.install \ - */doc \ */share/locale SDK_DIRS = \ @@ -158,6 +157,8 @@ $(BIN_DIR)/$(SDK_NAME).tar.xz: clean $(SDK_BUILD_DIR)/package/kernel/ -rm -rf $(SDK_BUILD_DIR)/$(STAGING_SUBDIR_HOST)/.prereq-build + -rm -rf $(SDK_BUILD_DIR)/$(STAGING_SUBDIR_HOST)/doc + -rm -rf $(SDK_BUILD_DIR)/$(STAGING_SUBDIR_HOST)/share/doc -rm -f $(SDK_BUILD_DIR)/feeds.conf.default $(if $(BASE_FEED),echo "$(BASE_FEED)" > $(SDK_BUILD_DIR)/feeds.conf.default)