From cfb30e23d1763e961ce1b19f706d85b30c3b3d16 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Tue, 1 Oct 2002 15:38:01 +0000 Subject: [PATCH] build(): Use self.builddir, not self.doc when copying the icons, so they'll end up in the right directory when --dir is used. --- Doc/tools/mkhowto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/tools/mkhowto b/Doc/tools/mkhowto index d0ab63c48d8..b542c261c5f 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()