]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
docs: Avoid warning on cleandocs
authorJonathan Corbet <corbet@lwn.net>
Wed, 16 Nov 2016 22:38:03 +0000 (15:38 -0700)
committerJonathan Corbet <corbet@lwn.net>
Wed, 16 Nov 2016 22:38:03 +0000 (15:38 -0700)
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>
Documentation/media/Makefile

index 297b85c37ab92eaf9b54b63fc7126975483898c5..c22a30b07821eab653323a1ad46bc8aaf8880aa1 100644 (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}