From: "Mike Frysinger" The KERNELDOC and DOCPROC variables are relative to the $(srctree)/$(objtree) and expect to be run only from there ... attached patch adds proper srctree/objtree prefixes to both variables. Cc: "Randy.Dunlap" Signed-off-by: Andrew Morton --- Documentation/DocBook/Makefile | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff -puN Documentation/DocBook/Makefile~respect-srctree-objtree-in-documentation-docbook-makefile Documentation/DocBook/Makefile --- a/Documentation/DocBook/Makefile~respect-srctree-objtree-in-documentation-docbook-makefile +++ a/Documentation/DocBook/Makefile @@ -53,8 +53,8 @@ installmandocs: mandocs ### #External programs used -KERNELDOC = scripts/kernel-doc -DOCPROC = scripts/basic/docproc +KERNELDOC = $(srctree)/scripts/kernel-doc +DOCPROC = $(objtree)/scripts/basic/docproc XMLTOFLAGS = -m $(srctree)/Documentation/DocBook/stylesheet.xsl #XMLTOFLAGS += --skip-validation _