Commits

Georg Brandl  committed f525f73

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

  • Participants
  • Parent commits ff73e4a

Comments (0)

Files changed (4)

File doc/Makefile

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

File sphinx/builders/texinfo.py

 \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
 '''

File sphinx/quickstart.py

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

File tests/root/Makefile

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