summaryrefslogtreecommitdiffstats
path: root/Doc/Makefile
diff options
context:
space:
mode:
authorMatthias Klose <doko@ubuntu.com>2004-08-18 22:17:44 (GMT)
committerMatthias Klose <doko@ubuntu.com>2004-08-18 22:17:44 (GMT)
commit5b75f7d19b357051c271c38b2544d58489d84253 (patch)
tree23b71c74f7597cb79cccaa2f78290f01d7eb754c /Doc/Makefile
parentbabc5ec630ac380c6d62bf6c31fe71ee11e01593 (diff)
downloadcpython-5b75f7d19b357051c271c38b2544d58489d84253.zip
cpython-5b75f7d19b357051c271c38b2544d58489d84253.tar.gz
cpython-5b75f7d19b357051c271c38b2544d58489d84253.tar.bz2
Remove zero-byte gif files from generated html docs
Diffstat (limited to 'Doc/Makefile')
-rw-r--r--Doc/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Doc/Makefile b/Doc/Makefile
index a17ad81..b401a9b 100644
--- a/Doc/Makefile
+++ b/Doc/Makefile
@@ -620,6 +620,7 @@ HTMLPKGFILES=*.html */*.css */*.html */*.gif */*.png */*.txt
html-$(RELEASE).tar: $(ALLHTMLFILES) $(HTMLCSSFILES)
mkdir Python-Docs-$(RELEASE)
+ -find html -name '*.gif' -size 0 | xargs rm -f
cd html && tar cf ../temp.tar $(HTMLPKGFILES)
cd Python-Docs-$(RELEASE) && tar xf ../temp.tar
rm temp.tar