Commit c54b6b37 authored by Jonathan Corbet's avatar Jonathan Corbet

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: default avatarJonathan Corbet <corbet@lwn.net>
parent 15a04d4e
...@@ -38,7 +38,7 @@ xml: all ...@@ -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 ...@@ -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}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment