* [PATCH] DocBook: media: Fix Makefile clean target
@ 2014-11-19 15:29 Markus Pargmann
2014-11-19 16:06 ` Jonathan Corbet
0 siblings, 1 reply; 2+ messages in thread
From: Markus Pargmann @ 2014-11-19 15:29 UTC (permalink / raw)
To: Mauro Carvalho Chehab, Jonathan Corbet
Cc: linux-media, linux-doc, Markus Pargmann
The cleanmediadocs target will fail if the given files do not exist.
This should not happen, instead we want the cleaning to be successful
even if the files do not exist.
Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
---
Documentation/DocBook/media/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/DocBook/media/Makefile b/Documentation/DocBook/media/Makefile
index df2962d9e11e..8bf7c6191296 100644
--- a/Documentation/DocBook/media/Makefile
+++ b/Documentation/DocBook/media/Makefile
@@ -25,7 +25,7 @@ GENFILES := $(addprefix $(MEDIA_OBJ_DIR)/, $(MEDIA_TEMP))
PHONY += cleanmediadocs
cleanmediadocs:
- -@rm `find $(MEDIA_OBJ_DIR) -type l` $(GENFILES) $(OBJIMGFILES) 2>/dev/null
+ -@rm -f `find $(MEDIA_OBJ_DIR) -type l` $(GENFILES) $(OBJIMGFILES) 2>/dev/null
$(obj)/media_api.xml: $(GENFILES) FORCE
--
2.1.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] DocBook: media: Fix Makefile clean target
2014-11-19 15:29 [PATCH] DocBook: media: Fix Makefile clean target Markus Pargmann
@ 2014-11-19 16:06 ` Jonathan Corbet
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Corbet @ 2014-11-19 16:06 UTC (permalink / raw)
To: Markus Pargmann; +Cc: Mauro Carvalho Chehab, linux-media, linux-doc
On Wed, 19 Nov 2014 16:29:52 +0100
Markus Pargmann <mpa@pengutronix.de> wrote:
> The cleanmediadocs target will fail if the given files do not exist.
> This should not happen, instead we want the cleaning to be successful
> even if the files do not exist.
I already have a patch to this effect in my docs tree, thanks.
jon
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-11-19 16:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-19 15:29 [PATCH] DocBook: media: Fix Makefile clean target Markus Pargmann
2014-11-19 16:06 ` Jonathan Corbet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).