Skip to contentSkip to conversation

respect srctree/objtree in Documentation/DocBook/Makefile

PATCH New Mike Frysinger 1 participant 1 message Dec 27, 2006 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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 -mike

have KERNELDOC use $(srctree) and DOCPROC use $(objtree)

Documentation/DocBook/Makefile +2 -2
index 36526a1..867608a 100644
@@ -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