WAF: ignore errors on shutil.rmtree in dist_hook, so that waf dist works even when no docs were previously generated.

This commit is contained in:
Gustavo J. A. M. Carneiro committed 2007-07-09 14:36:40 +01:00
1 parent 441a8868a0
commit 3ce169b4e2
1 file changed
+2 -2
+2 -2
View File
@@ -21,8 +21,8 @@ srcdir = '.'
blddir = 'build'
def dist_hook(srcdir, blddir):
shutil.rmtree("doc/html")
shutil.rmtree("doc/latex")
shutil.rmtree("doc/html", True)
shutil.rmtree("doc/latex", True)
def set_options(opt):