Closes #1065: in Makefiles, ignore errors in "rm" using the -f flag, not a "-" prefix.

This commit is contained in:
Georg Brandl 2012-12-31 09:39:02 +01:00
parent c529f6756c
commit 998d567d5c
4 changed files with 6 additions and 6 deletions

View File

@ -38,7 +38,7 @@ help:
@echo " linkcheck to check all external links for integrity"
clean:
-rm -rf _build/*
rm -rf _build/*
html:
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) _build/html

View File

@ -72,9 +72,9 @@ uninstall-info: info
\t-$(TEXI2PDF) '$<'
clean:
\t-rm -f *.info *.pdf *.txt *.html
\t-rm -f *.log *.ind *.aux *.toc *.syn *.idx *.out *.ilg *.pla *.ky *.pg
\t-rm -f *.vr *.tp *.fn *.fns *.def *.defs *.cp *.cps *.ge *.ges *.mo
\trm -f *.info *.pdf *.txt *.html
\trm -f *.log *.ind *.aux *.toc *.syn *.idx *.out *.ilg *.pla *.ky *.pg
\trm -f *.vr *.tp *.fn *.fns *.def *.defs *.cp *.cps *.ge *.ges *.mo
.PHONY: all info plaintext html pdf install-info uninstall-info clean
'''

View File

@ -430,7 +430,7 @@ help:
(if enabled)"
clean:
\t-rm -rf $(BUILDDIR)/*
\trm -rf $(BUILDDIR)/*
html:
\t$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html

View File

@ -23,7 +23,7 @@ help:
@echo " linkcheck to check all external links for integrity"
clean:
-rm -rf _build/*
rm -rf _build/*
html:
mkdir -p _build/html _build/doctrees