[Python-checkins] python/dist/src/Doc/tools mkhowto,1.35,1.36

barry@users.sourceforge.net barry@users.sourceforge.net
Tue, 01 Oct 2002 08:38:04 -0700


Update of /cvsroot/python/python/dist/src/Doc/tools
In directory usw-pr-cvs1:/tmp/cvs-serv7534

Modified Files:
	mkhowto 
Log Message:
build(): Use self.builddir, not self.doc when copying the icons, so
they'll end up in the right directory when --dir is used.


Index: mkhowto
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/tools/mkhowto,v
retrieving revision 1.35
retrieving revision 1.36
diff -C2 -d -r1.35 -r1.36
*** mkhowto	1 Oct 2002 15:30:56 -0000	1.35
--- mkhowto	1 Oct 2002 15:38:01 -0000	1.36
***************
*** 295,299 ****
                          % `self.options.image_type`)
                  for fn in imgs:
!                     new_fn = os.path.join(self.doc, os.path.basename(fn))
                      shutil.copyfile(fn, new_fn)
          if "text" in formats:
--- 295,299 ----
                          % `self.options.image_type`)
                  for fn in imgs:
!                     new_fn = os.path.join(self.builddir, os.path.basename(fn))
                      shutil.copyfile(fn, new_fn)
          if "text" in formats: