Browse Source

docs: Avoid warning on cleandocs

Recent Makefile changes added an rm command without the requisite "-f",
leading to warnings if the files do not exist.  Make it be quiet again.

Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Jonathan Corbet 8 years ago
parent
commit
c54b6b3779
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Documentation/media/Makefile

+ 2 - 2
Documentation/media/Makefile

@@ -38,7 +38,7 @@ xml: all
 latex: $(IMGPDF) all
 latex: $(IMGPDF) all
 
 
 clean:
 clean:
-	-rm $(IMGTGT) 2>/dev/null
+	-rm -f $(IMGTGT) 2>/dev/null
 
 
 $(BUILDDIR):
 $(BUILDDIR):
 	$(Q)mkdir -p $@
 	$(Q)mkdir -p $@
@@ -85,4 +85,4 @@ $(BUILDDIR)/lirc.h.rst: ${UAPI}/lirc.h ${PARSER} $(SRC_DIR)/lirc.h.rst.exception
 	@$($(quiet)gen_rst)
 	@$($(quiet)gen_rst)
 
 
 cleandocs:
 cleandocs:
-	-rm ${TARGETS}
+	-rm -f ${TARGETS}