Documentation: kdbus: fix location for generated files
authorDaniel Mack <daniel@zonque.org>
Mon, 9 Mar 2015 17:00:46 +0000 (18:00 +0100)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Mon, 4 Apr 2016 01:12:29 +0000 (10:12 +0900)
The generated files should reside in Documentation/kdbus, not in the
top-level of the source tree. Also add a .gitignore file and ignore
everything that was built from the XML files.

Change-Id: Iedb5f988fd7f539f8557e1fecb85d6ccf17f10ff
Signed-off-by: Daniel Mack <daniel@zonque.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Paul Osmialowski <p.osmialowsk@samsung.com>
Documentation/kdbus/.gitignore [new file with mode: 0644]
Documentation/kdbus/Makefile

diff --git a/Documentation/kdbus/.gitignore b/Documentation/kdbus/.gitignore
new file mode 100644 (file)
index 0000000..b4a77cc
--- /dev/null
@@ -0,0 +1,2 @@
+*.7
+*.html
index cd6b48ee41bf5962e4c5ac96f9a273bd5105a968..f6d491251c25333ff821e85107c9a6b0b85428f2 100644 (file)
@@ -18,10 +18,10 @@ HTMLFILES := $(patsubst %.xml, %.html, $(XMLFILES))
 XMLTO_ARGS := -m $(obj)/stylesheet.xsl
 
 %.7: %.xml
-       xmlto man $(XMLTO_ARGS) -o . $<
+       xmlto man $(XMLTO_ARGS) -o $(obj) $<
 
 %.html: %.xml
-       xmlto html-nochunks $(XMLTO_ARGS) -o . $<
+       xmlto html-nochunks $(XMLTO_ARGS) -o $(obj) $<
 
 mandocs: $(MANFILES)