* [PATCH] doc-rst: fixed cleandoc target when used with O=dir
@ 2017-01-31 9:57 Markus Heiser
2017-02-01 20:10 ` Jonathan Corbet
0 siblings, 1 reply; 2+ messages in thread
From: Markus Heiser @ 2017-01-31 9:57 UTC (permalink / raw)
To: Jonathan Corbet, Mauro Carvalho Chehab
Cc: Markus Heiser, linux-doc @ vger . kernel . org List,
linux-media @ vger . kernel . org
The cleandocs target won't work if I use a different output folder::
$ make O=/tmp/kernel SPHINXDIRS="process" cleandocs
make[1]: Entering directory '/tmp/kernel'
make[3]: *** No rule to make target 'clean'. Stop.
... Documentation/Makefile.sphinx:100: recipe for target 'cleandocs' failed
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
---
Documentation/Makefile.sphinx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/Makefile.sphinx b/Documentation/Makefile.sphinx
index e14d82a..be1936e 100644
--- a/Documentation/Makefile.sphinx
+++ b/Documentation/Makefile.sphinx
@@ -98,7 +98,7 @@ installmandocs:
cleandocs:
$(Q)rm -rf $(BUILDDIR)
- $(Q)$(MAKE) BUILDDIR=$(abspath $(BUILDDIR)) -C Documentation/media clean
+ $(Q)$(MAKE) BUILDDIR=$(abspath $(BUILDDIR)) $(build)=Documentation/media clean
endif # HAVE_SPHINX
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] doc-rst: fixed cleandoc target when used with O=dir
2017-01-31 9:57 [PATCH] doc-rst: fixed cleandoc target when used with O=dir Markus Heiser
@ 2017-02-01 20:10 ` Jonathan Corbet
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Corbet @ 2017-02-01 20:10 UTC (permalink / raw)
To: Markus Heiser
Cc: Mauro Carvalho Chehab, linux-doc @ vger . kernel . org List,
linux-media @ vger . kernel . org
On Tue, 31 Jan 2017 10:57:41 +0100
Markus Heiser <markus.heiser@darmarit.de> wrote:
> The cleandocs target won't work if I use a different output folder::
>
> $ make O=/tmp/kernel SPHINXDIRS="process" cleandocs
> make[1]: Entering directory '/tmp/kernel'
> make[3]: *** No rule to make target 'clean'. Stop.
> ... Documentation/Makefile.sphinx:100: recipe for target 'cleandocs' failed
Applied, thanks.
jon
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-02-01 20:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-31 9:57 [PATCH] doc-rst: fixed cleandoc target when used with O=dir Markus Heiser
2017-02-01 20:10 ` Jonathan Corbet
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.