]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
A couple of nits how to ignore errors.
authorGeorg Brandl <georg@python.org>
Tue, 3 Aug 2010 12:36:57 +0000 (12:36 +0000)
committerGeorg Brandl <georg@python.org>
Tue, 3 Aug 2010 12:36:57 +0000 (12:36 +0000)
Doc/Makefile

index c20374fbe35161c6ce4bdc8d53cb52caea1842e7..d12e4c7ca94cdda0fb2c1ac256a45c080a19b646 100644 (file)
@@ -120,7 +120,7 @@ clean:
        -rm -rf tools/docutils
 
 dist:
-       -rm -rf dist
+       rm -rf dist
        mkdir -p dist
 
        # archive the HTML
@@ -142,7 +142,7 @@ dist:
        rm dist/python-$(DISTVERSION)-docs-text.tar
 
        # archive the A4 latex
-       -rm -r build/latex
+       rm -rf build/latex
        make latex PAPER=a4
        -sed -i 's/makeindex/makeindex -q/' build/latex/Makefile
        (cd build/latex; make clean && make all-pdf && make FMT=pdf zip bz2)
@@ -150,7 +150,7 @@ dist:
        cp build/latex/docs-pdf.tar.bz2 dist/python-$(DISTVERSION)-docs-pdf-a4.tar.bz2
 
        # archive the letter latex
-       rm -r build/latex
+       rm -rf build/latex
        make latex PAPER=letter
        -sed -i 's/makeindex/makeindex -q/' build/latex/Makefile
        (cd build/latex; make clean && make all-pdf && make FMT=pdf zip bz2)