Remove zero-byte gif files from generated html docs

This commit is contained in:
Matthias Klose 2004-08-18 22:17:44 +00:00
parent babc5ec630
commit 5b75f7d19b
1 changed files with 1 additions and 0 deletions

View File

@ -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