[Python-checkins] python/dist/src/Doc/tools mkhowto,1.37,1.38

fdrake@users.sourceforge.net fdrake@users.sourceforge.net
Fri, 17 Jan 2003 13:25:08 -0800


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

Modified Files:
	mkhowto 
Log Message:
Clean up some files that LaTeX2HTML drops in the HTML output directory
sometimes.


Index: mkhowto
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/tools/mkhowto,v
retrieving revision 1.37
retrieving revision 1.38
diff -C2 -d -r1.37 -r1.38
*** mkhowto	30 Oct 2002 17:02:21 -0000	1.37
--- mkhowto	17 Jan 2003 21:25:04 -0000	1.38
***************
*** 444,447 ****
--- 444,452 ----
                  finally:
                      os.chdir(pwd)
+         # These files need to be cleaned up here since builddir there
+         # can be more than one, so we clean each of them.
+         if self.options.discard_temps:
+             for fn in ("images.tex", "images.log", "images.aux"):
+                 safe_unlink(os.path.join(builddir, fn))
  
      def build_text(self, tempdir=None):