From 865bdbf4af88a32cab4d92709fad3c8ae7fb62d5 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Fri, 28 Mar 2014 19:48:55 +0100 Subject: [PATCH] Doc: do not compress .epub for dist, it is already zipped. --- Doc/Makefile | 10 ++-------- Doc/tools/sphinxext/download.html | 4 ++-- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/Doc/Makefile b/Doc/Makefile index d85fb94a2cc..12fc6986cf6 100644 --- a/Doc/Makefile +++ b/Doc/Makefile @@ -136,16 +136,10 @@ dist: cp build/latex/docs-pdf.zip dist/python-$(DISTVERSION)-docs-pdf-letter.zip cp build/latex/docs-pdf.tar.bz2 dist/python-$(DISTVERSION)-docs-pdf-letter.tar.bz2 - # archive the epub build + # copy the epub build rm -rf build/epub make epub - mkdir -p dist/python-$(DISTVERSION)-docs-epub - cp -pPR build/epub/*.epub dist/python-$(DISTVERSION)-docs-epub/ - tar -C dist -cf dist/python-$(DISTVERSION)-docs-epub.tar python-$(DISTVERSION)-docs-epub - bzip2 -9 -k dist/python-$(DISTVERSION)-docs-epub.tar - (cd dist; zip -q -r -9 python-$(DISTVERSION)-docs-epub.zip python-$(DISTVERSION)-docs-epub) - rm -r dist/python-$(DISTVERSION)-docs-epub - rm dist/python-$(DISTVERSION)-docs-epub.tar + cp -pPR build/epub/Python.epub dist/python-$(DISTVERSION)-docs.epub check: $(PYTHON) tools/rstlint.py -i tools diff --git a/Doc/tools/sphinxext/download.html b/Doc/tools/sphinxext/download.html index 31a53cfb399..0550111085b 100644 --- a/Doc/tools/sphinxext/download.html +++ b/Doc/tools/sphinxext/download.html @@ -34,8 +34,8 @@ in the table are the size of the download files in megabytes.

Download (ca. 1.5 MB) EPUB - Download (ca. 3.5 MB) - Download (ca. 3.5 MB) + Download (ca. 4.5 MB) +