File tree Expand file tree Collapse file tree 1 file changed +19
-1
lines changed
Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -155,10 +155,20 @@ venv:
155155 echo " The venv has been created in the $( VENVDIR) directory" ; \
156156 fi
157157
158+ .PHONY : dist-no-html
159+ dist-no-html : dist-text dist-epub dist-texinfo
160+
158161dist :
159162 rm -rf dist
160163 mkdir -p dist
161-
164+ $(MAKE ) dist-html
165+ $(MAKE ) dist-text
166+ $(MAKE ) dist-pdf
167+ $(MAKE ) dist-epub
168+ $(MAKE ) dist-texinfo
169+
170+ .PHONY : dist-html
171+ dist-html :
162172 # archive the HTML
163173 make html
164174 cp -pPR build/html dist/python-$(DISTVERSION ) -docs-html
@@ -168,6 +178,8 @@ dist:
168178 rm -r dist/python-$(DISTVERSION ) -docs-html
169179 rm dist/python-$(DISTVERSION ) -docs-html.tar
170180
181+ .PHONY : dist-text
182+ dist-text :
171183 # archive the text build
172184 make text
173185 cp -pPR build/text dist/python-$(DISTVERSION ) -docs-text
@@ -177,6 +189,8 @@ dist:
177189 rm -r dist/python-$(DISTVERSION ) -docs-text
178190 rm dist/python-$(DISTVERSION ) -docs-text.tar
179191
192+ .PHONY : dist-pdf
193+ dist-pdf :
180194 # archive the A4 latex
181195 rm -rf build/latex
182196 make latex PAPER=a4
@@ -193,11 +207,15 @@ dist:
193207 cp build/latex/docs-pdf.zip dist/python-$(DISTVERSION)-docs-pdf-letter.zip
194208 cp build/latex/docs-pdf.tar.bz2 dist/python-$(DISTVERSION)-docs-pdf-letter.tar.bz2
195209
210+ .PHONY : dist-epub
211+ dist-epub :
196212 # copy the epub build
197213 rm -rf build/epub
198214 make epub
199215 cp -pPR build/epub/Python.epub dist/python-$(DISTVERSION ) -docs.epub
200216
217+ .PHONY : dist-texinfo
218+ dist-texinfo :
201219 # archive the texinfo build
202220 rm -rf build/texinfo
203221 make texinfo
You can’t perform that action at this time.
0 commit comments