summaryrefslogtreecommitdiffstats
path: root/Doc/tools/mkhowto
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2002-10-01 15:38:01 (GMT)
committerBarry Warsaw <barry@python.org>2002-10-01 15:38:01 (GMT)
commitcfb30e23d1763e961ce1b19f706d85b30c3b3d16 (patch)
tree691d1a62ed7a33c373a5d02099b47571134bca47 /Doc/tools/mkhowto
parentc0e066a7b8f4de89efe683d48fa1a5d70a0b6160 (diff)
downloadcpython-cfb30e23d1763e961ce1b19f706d85b30c3b3d16.zip
cpython-cfb30e23d1763e961ce1b19f706d85b30c3b3d16.tar.gz
cpython-cfb30e23d1763e961ce1b19f706d85b30c3b3d16.tar.bz2
build(): Use self.builddir, not self.doc when copying the icons, so
they'll end up in the right directory when --dir is used.
Diffstat (limited to 'Doc/tools/mkhowto')
-rwxr-xr-xDoc/tools/mkhowto2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tools/mkhowto b/Doc/tools/mkhowto
index d0ab63c..b542c26 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()