Documentation/kdbus: fix out-of-tree builds
authorDavid Herrmann <dh.herrmann@gmail.com>
Mon, 16 Mar 2015 09:17:11 +0000 (10:17 +0100)
committerKarol Lewandowski <k.lewandowsk@samsung.com>
Thu, 25 Jul 2019 13:49:29 +0000 (15:49 +0200)
Don't use $(obj) to access source files, but use $(srctree)/$(src)/
instead. This fixes build issues if you use O= with a directory other than
the source directory.

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Paul Osmialowski <p.osmialowsk@samsung.com>
Documentation/kdbus/Makefile

index f6d491251c25333ff821e85107c9a6b0b85428f2..d8e6bf37d53bfdc03e85312a2efc7d11255b5f6e 100644 (file)
@@ -15,7 +15,7 @@ XMLFILES := $(addprefix $(obj)/,$(DOCS))
 MANFILES := $(patsubst %.xml, %.7, $(XMLFILES))
 HTMLFILES := $(patsubst %.xml, %.html, $(XMLFILES))
 
-XMLTO_ARGS := -m $(obj)/stylesheet.xsl
+XMLTO_ARGS := -m $(srctree)/$(src)/stylesheet.xsl
 
 %.7: %.xml
        xmlto man $(XMLTO_ARGS) -o $(obj) $<