aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Yann E. MORIN <yann.morin.1998@free.fr>2014-10-03 19:01:58 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2014-10-12 07:46:28 +0200
commitf70d64111a2d93fcf6a6313a8e5da84d0fabd7d8 (patch)
tree324fde5e5a921ccbf47b6dc98f6c3f698f0909a3
parente2cd2337d7baa5c157c0b6a76cc8fcf8ab4b6138 (diff)
downloadbuildroot-f70d64111a2d93fcf6a6313a8e5da84d0fabd7d8.tar.gz
buildroot-f70d64111a2d93fcf6a6313a8e5da84d0fabd7d8.tar.bz2
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" <yann.morin.1998@free.fr> Cc: Samuel Martin <s.martin49@gmail.com> Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com> Reviewed-by: Samuel Martin <s.martin49@gmail.com> Reviewed-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
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)