mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Closes #1065: in Makefiles, ignore errors in "rm" using the -f flag, not a "-" prefix.
This commit is contained in:
parent
c529f6756c
commit
998d567d5c
@ -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
|
||||
|
@ -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
|
||||
'''
|
||||
|
@ -430,7 +430,7 @@ help:
|
||||
(if enabled)"
|
||||
|
||||
clean:
|
||||
\t-rm -rf $(BUILDDIR)/*
|
||||
\trm -rf $(BUILDDIR)/*
|
||||
|
||||
html:
|
||||
\t$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user