From: Jonathan Corbet Date: Wed, 16 Nov 2016 22:38:03 +0000 (-0700) Subject: docs: Avoid warning on cleandocs X-Git-Tag: rel_imx_4.19.35_1.1.0~12697^2~172^2 X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=c54b6b37796edbe7eb48756d4be151479ea430ab;p=linux.git 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 --- diff --git a/Documentation/media/Makefile b/Documentation/media/Makefile index 297b85c37ab9..c22a30b07821 100644 --- a/Documentation/media/Makefile +++ b/Documentation/media/Makefile @@ -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}