Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Doc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ dist:
.PHONY: dist-html
dist-html:
# archive the HTML
mkdir -p dist
make html
cp -pPR build/html dist/python-$(DISTVERSION)-docs-html
tar -C dist -cf dist/python-$(DISTVERSION)-docs-html.tar python-$(DISTVERSION)-docs-html
Expand All @@ -212,6 +213,7 @@ dist-html:
.PHONY: dist-text
dist-text:
# archive the text build
mkdir -p dist
make text
cp -pPR build/text dist/python-$(DISTVERSION)-docs-text
tar -C dist -cf dist/python-$(DISTVERSION)-docs-text.tar python-$(DISTVERSION)-docs-text
Expand All @@ -223,6 +225,7 @@ dist-text:
.PHONY: dist-pdf
dist-pdf:
# archive the A4 latex
mkdir -p dist
rm -rf build/latex
make latex PAPER=a4
-sed -i 's/makeindex/makeindex -q/' build/latex/Makefile
Expand All @@ -241,13 +244,15 @@ dist-pdf:
.PHONY: dist-epub
dist-epub:
# copy the epub build
mkdir -p dist
rm -rf build/epub
make epub
cp -pPR build/epub/Python.epub dist/python-$(DISTVERSION)-docs.epub

.PHONY: dist-texinfo
dist-texinfo:
# archive the texinfo build
mkdir -p dist
rm -rf build/texinfo
make texinfo
make info --directory=build/texinfo
Expand Down