From: Matthias Klose Date: Wed, 18 Aug 2004 22:17:44 +0000 (+0000) Subject: Remove zero-byte gif files from generated html docs X-Git-Tag: v2.4a3~201 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5b75f7d19b357051c271c38b2544d58489d84253;p=thirdparty%2FPython%2Fcpython.git Remove zero-byte gif files from generated html docs --- diff --git a/Doc/Makefile b/Doc/Makefile index a17ad811b4d0..b401a9bce656 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