From: Yann E. MORIN Date: Fri, 3 Oct 2014 17:01:58 +0000 (+0200) Subject: Makefile: enable generating documents from br2-external X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f70d64111a2d93fcf6a6313a8e5da84d0fabd7d8;p=buildroot.git Makefile: enable generating documents from br2-external Currently, the only way br2-external may generate a document is by including that document's recipe from within external.mk. But external.mk is only parsed when the tree is configured. This is unlike our internal document (the manual) which can be generated from within an unconfigured tree. So, include the documents from br2-external at the same time we include our own document: - expect the same layout as we have: docs/DOC_NAME/doc-name.mk - do not fail if there is no document: use "-include", not "include" Signed-off-by: "Yann E. MORIN" Cc: Samuel Martin Cc: Thomas De Schampheleire Reviewed-by: Samuel Martin Reviewed-by: Thomas De Schampheleire Signed-off-by: Peter Korsgaard --- diff --git a/Makefile b/Makefile index d7fbc475ec..9a6ff156ce 100644 --- a/Makefile +++ b/Makefile @@ -931,5 +931,6 @@ print-version: @echo $(BR2_VERSION_FULL) include docs/manual/manual.mk +-include $(BR2_EXTERNAL)/docs/*/*.mk .PHONY: $(noconfig_targets)