Bug#276005: vim: :make doesn't find right files with makes -C option.
Bram Moolenaar
Bram Moolenaar <Bram@moolenaar.net>, 276005@bugs.debian.org
Tue, 17 May 2005 16:32:32 +0200
Stefano -
> David Riebenbauer <davrieb@sbox.tugraz.at> wrote:
> > As said in the subject :make doesn't jump to the right files with
> > warnings or errors if it is used with the -C option like:
> >
> > :make -C /path/to/the/makefile
>
> This happen because the default errorformat parser lines like:
>
> make[1]: Entering directory `/some/path'
> make[1]: Leaving directory `/some/path'
>
> but not lines like:
>
> make: Entering directory `/home/zack/dati/HELM/cvs/helm/ocaml/cic'
> make: Leaving directory `/home/zack/dati/HELM/cvs/helm/ocaml/cic'
>
> The second kind of lines is output when make is directly (i.e. not by
> another Makefile) invoked with -C. Attached you will find a patch for
> option.h which changes the default so that both kinds of lines are
> recognized. BTW, the patch fixes also the errorformat string used by the
> ocaml ftplugin.
>
> Bram, could you please apply the patch (only for option.h) to next vim
> version?
I'll include it in Vim 7.
Did you send the change for ocaml.vim to its maintainer? The patch
doesn't match the file that I have.
- Bram
--
My girlfriend told me I should be more affectionate.
So I got TWO girlfriends.
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
\\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html ///