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 @@ -154,10 +154,20 @@ venv:
154154 echo " The venv has been created in the $( VENVDIR) directory" ; \
155155 fi
156156
157+ .PHONY : dist-no-html
158+ dist-no-html : dist-text dist-epub dist-texinfo
159+
157160dist :
158161 rm -rf dist
159162 mkdir -p dist
160-
163+ $(MAKE ) dist-html
164+ $(MAKE ) dist-text
165+ $(MAKE ) dist-pdf
166+ $(MAKE ) dist-epub
167+ $(MAKE ) dist-texinfo
168+
169+ .PHONY : dist-html
170+ dist-html :
161171 # archive the HTML
162172 make html
163173 cp -pPR build/html dist/python-$(DISTVERSION ) -docs-html
@@ -167,6 +177,8 @@ dist:
167177 rm -r dist/python-$(DISTVERSION ) -docs-html
168178 rm dist/python-$(DISTVERSION ) -docs-html.tar
169179
180+ .PHONY : dist-text
181+ dist-text :
170182 # archive the text build
171183 make text
172184 cp -pPR build/text dist/python-$(DISTVERSION ) -docs-text
@@ -176,6 +188,8 @@ dist:
176188 rm -r dist/python-$(DISTVERSION ) -docs-text
177189 rm dist/python-$(DISTVERSION ) -docs-text.tar
178190
191+ .PHONY : dist-pdf
192+ dist-pdf :
179193 # archive the A4 latex
180194 rm -rf build/latex
181195 make latex PAPER=a4
@@ -192,11 +206,15 @@ dist:
192206 cp build/latex/docs-pdf.zip dist/python-$(DISTVERSION)-docs-pdf-letter.zip
193207 cp build/latex/docs-pdf.tar.bz2 dist/python-$(DISTVERSION)-docs-pdf-letter.tar.bz2
194208
209+ .PHONY : dist-epub
210+ dist-epub :
195211 # copy the epub build
196212 rm -rf build/epub
197213 make epub
198214 cp -pPR build/epub/Python.epub dist/python-$(DISTVERSION ) -docs.epub
199215
216+ .PHONY : dist-texinfo
217+ dist-texinfo :
200218 # archive the texinfo build
201219 rm -rf build/texinfo
202220 make texinfo
You can’t perform that action at this time.
0 commit comments