From 14b3dc43ed2978f2c52d3ecf49ef1c6e1cce0e6d Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Wed, 3 May 2006 13:32:42 +0000 Subject: [PATCH] * configure.py: reinstantiate part of removeExtraFiles that was removed by mistake. Add removal of chklatex.{ltx,log}. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13793 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/configure.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lib/configure.py b/lib/configure.py index 7ddbcd613a..b7ac1eac55 100644 --- a/lib/configure.py +++ b/lib/configure.py @@ -624,6 +624,15 @@ def checkTeXAllowSpaces(): removeFiles( [ 'a b.tex', 'a b.log', 'texput.log' ]) +def removeTempFiles(): + # Final clean-up + if not lyx_keep_temps: + removeFiles(['chkconfig.sed', 'chkconfig.vars', \ + 'wrap_chkconfig.ltx', 'wrap_chkconfig.log', \ + 'chklayouts.tex', 'missfont.log', + 'chklatex.ltx', 'chklatex.log']) + + if __name__ == '__main__': lyx_check_config = True outfile = 'lyxrc.defaults' @@ -680,3 +689,4 @@ Options: # --without-latex-config can disable lyx_check_config checkLatexConfig( lyx_check_config and LATEX != '', bool_docbook, bool_linuxdoc) createLaTeXConfig() + removeTempFiles()