Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite
In directory sc8-pr-cvs1:/tmp/cvs-serv12896
Modified Files:
compiler.vim
Log Message:
Bug: Use of g:Tex_UseMakefile was broken. (Alan Schmitt)
Fix: Test for Tex_UseMakefile before checking for makefile etc. (Alan
Schmitt)
Index: compiler.vim
===================================================================
RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/compiler.vim,v
retrieving revision 1.46
retrieving revision 1.47
diff -C2 -d -r1.46 -r1.47
*** compiler.vim 6 Sep 2003 06:34:05 -0000 1.46
--- compiler.vim 7 Sep 2003 17:22:09 -0000 1.47
***************
*** 118,122 ****
" extracted from *.latexmain (if possible) log file name depends on the
" main file which will be compiled.
! if !g:Tex_UseMakefile || glob('makefile') != '' || glob('Makefile') != ''
let _makeprg = &l:makeprg
let &l:makeprg = 'make $*'
--- 118,122 ----
" extracted from *.latexmain (if possible) log file name depends on the
" main file which will be compiled.
! if g:Tex_UseMakefile && (glob('makefile') != '' || glob('Makefile') != '')
let _makeprg = &l:makeprg
let &l:makeprg = 'make $*'
|