summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2015-03-16 10:17:11 +0100
committerMaciej Wereski <m.wereski@partner.samsung.com>2015-04-02 17:24:20 +0200
commitd990806bddc0e900f109ef345d7fbf6f1cb733bc (patch)
treecce20b8f13321c5356fb06a116eb8227215cf5ee
parent5bd099cf5fd01b9fa1dfb65ac60d0081545a3b89 (diff)
downloadlinux-3.10-d990806bddc0e900f109ef345d7fbf6f1cb733bc.tar.gz
linux-3.10-d990806bddc0e900f109ef345d7fbf6f1cb733bc.tar.bz2
linux-3.10-d990806bddc0e900f109ef345d7fbf6f1cb733bc.zip
Documentation/kdbus: fix out-of-tree builds
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>
-rw-r--r--Documentation/kdbus/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/kdbus/Makefile b/Documentation/kdbus/Makefile
index f6d491251c2..d8e6bf37d53 100644
--- a/Documentation/kdbus/Makefile
+++ b/Documentation/kdbus/Makefile
@@ -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) $<