From: Barry Warsaw Date: Tue, 1 Oct 2002 15:38:01 +0000 (+0000) Subject: build(): Use self.builddir, not self.doc when copying the icons, so X-Git-Tag: v2.3c1~3912 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cfb30e23d1763e961ce1b19f706d85b30c3b3d16;p=python build(): Use self.builddir, not self.doc when copying the icons, so they'll end up in the right directory when --dir is used. --- diff --git a/Doc/tools/mkhowto b/Doc/tools/mkhowto index d0ab63c48d..b542c261c5 100755 --- a/Doc/tools/mkhowto +++ b/Doc/tools/mkhowto @@ -294,7 +294,7 @@ class Job: "Could not locate support images of type %s." % `self.options.image_type`) for fn in imgs: - new_fn = os.path.join(self.doc, os.path.basename(fn)) + new_fn = os.path.join(self.builddir, os.path.basename(fn)) shutil.copyfile(fn, new_fn) if "text" in formats: self.require_temps()