提交 c54b6b37 编写于 作者: J 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: NJonathan Corbet <corbet@lwn.net>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册