Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 38557f2

Browse files
committed
A couple of nits how to ignore errors.
1 parent 2f27755 commit 38557f2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Doc/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ clean:
120120
-rm -rf tools/docutils
121121

122122
dist:
123-
-rm -rf dist
123+
rm -rf dist
124124
mkdir -p dist
125125

126126
# archive the HTML
@@ -142,15 +142,15 @@ dist:
142142
rm dist/python-$(DISTVERSION)-docs-text.tar
143143

144144
# archive the A4 latex
145-
-rm -r build/latex
145+
rm -rf build/latex
146146
make latex PAPER=a4
147147
-sed -i 's/makeindex/makeindex -q/' build/latex/Makefile
148148
(cd build/latex; make clean && make all-pdf && make FMT=pdf zip bz2)
149149
cp build/latex/docs-pdf.zip dist/python-$(DISTVERSION)-docs-pdf-a4.zip
150150
cp build/latex/docs-pdf.tar.bz2 dist/python-$(DISTVERSION)-docs-pdf-a4.tar.bz2
151151

152152
# archive the letter latex
153-
rm -r build/latex
153+
rm -rf build/latex
154154
make latex PAPER=letter
155155
-sed -i 's/makeindex/makeindex -q/' build/latex/Makefile
156156
(cd build/latex; make clean && make all-pdf && make FMT=pdf zip bz2)

0 commit comments

Comments
 (0)