Re: [PATCH] DocBook: Reduce noise from make cleandocs

2014-10-22 Thread Jonathan Corbet
On Tue, 21 Oct 2014 18:18:12 +0200
Takashi Iwai ti...@suse.de wrote:

 I've got a harmless warning when running make cleandocs on an already
 cleaned tree:

Applied, thanks.

jon
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH] DocBook: Reduce noise from make cleandocs

2014-10-21 Thread Takashi Iwai
I've got a harmless warning when running make cleandocs on an already
cleaned tree:
  Documentation/DocBook/media/Makefile:28: recipe for target 'cleanmediadocs' 
failed
  make[1]: [cleanmediadocs] Error 1 (ignored)

Suppress this by passing -f to rm.

Signed-off-by: Takashi Iwai ti...@suse.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.2

--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH] DocBook: Reduce noise from make cleandocs

2014-10-21 Thread Mauro Carvalho Chehab
Em Tue, 21 Oct 2014 18:18:12 +0200
Takashi Iwai ti...@suse.de escreveu:

 I've got a harmless warning when running make cleandocs on an already
 cleaned tree:
   Documentation/DocBook/media/Makefile:28: recipe for target 'cleanmediadocs' 
 failed
   make[1]: [cleanmediadocs] Error 1 (ignored)
 
 Suppress this by passing -f to rm.
 
 Signed-off-by: Takashi Iwai ti...@suse.de

Assuming that this one would go via linux-doc tree:

Acked-by: Mauro Carvalho Chehab mche...@osg.samsung.com

 ---
  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
  
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html