mirror of https://github.com/python/cpython.git
Remove zero-byte gif files from generated html docs
This commit is contained in:
parent
babc5ec630
commit
5b75f7d19b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue