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>
This commit is contained in:
Jonathan Corbet 2016-11-16 15:38:03 -07:00
parent 15a04d4e76
commit c54b6b3779

View file

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