File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -201,6 +201,7 @@ dist:
201201.PHONY : dist-html
202202dist-html :
203203 # archive the HTML
204+ mkdir -p dist
204205 make html
205206 cp -pPR build/html dist/python-$(DISTVERSION ) -docs-html
206207 tar -C dist -cf dist/python-$(DISTVERSION ) -docs-html.tar python-$(DISTVERSION ) -docs-html
@@ -212,6 +213,7 @@ dist-html:
212213.PHONY : dist-text
213214dist-text :
214215 # archive the text build
216+ mkdir -p dist
215217 make text
216218 cp -pPR build/text dist/python-$(DISTVERSION ) -docs-text
217219 tar -C dist -cf dist/python-$(DISTVERSION ) -docs-text.tar python-$(DISTVERSION ) -docs-text
@@ -223,6 +225,7 @@ dist-text:
223225.PHONY : dist-pdf
224226dist-pdf :
225227 # archive the A4 latex
228+ mkdir -p dist
226229 rm -rf build/latex
227230 make latex PAPER=a4
228231 -sed -i ' s/makeindex/makeindex -q/' build/latex/Makefile
@@ -241,13 +244,15 @@ dist-pdf:
241244.PHONY : dist-epub
242245dist-epub :
243246 # copy the epub build
247+ mkdir -p dist
244248 rm -rf build/epub
245249 make epub
246250 cp -pPR build/epub/Python.epub dist/python-$(DISTVERSION ) -docs.epub
247251
248252.PHONY : dist-texinfo
249253dist-texinfo :
250254 # archive the texinfo build
255+ mkdir -p dist
251256 rm -rf build/texinfo
252257 make texinfo
253258 make info --directory=build/texinfo
You can’t perform that action at this time.
0 commit comments