From: Mike Frysinger Date: Sat, 30 Dec 2006 00:49:07 +0000 (-0800) Subject: [PATCH] respect srctree/objtree in Documentation/DocBook/Makefile X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=829ad751ab3e369ee85af83f1dee45640d3e2d29;p=linux-beck.git [PATCH] respect srctree/objtree in Documentation/DocBook/Makefile 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. Acked-by: "Randy.Dunlap" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/Documentation/DocBook/Makefile b/Documentation/DocBook/Makefile index 36526a1e76d7..867608ab3ca0 100644 --- a/Documentation/DocBook/Makefile +++ b/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