[libvirt] [PATCH 7/7] src: Add Vim modeline to Makefile.am snippets

Andrea Bolognani abologna at redhat.com
Thu Jan 10 10:59:26 UTC 2019


On Thu, 2019-01-10 at 10:23 +0100, Erik Skultety wrote:
> On Wed, Jan 09, 2019 at 07:35:54PM +0100, Andrea Bolognani wrote:
> > Vim won't recognize them, and thus not enable niceties
> > such as syntax highlighting, otherwise.
> 
> So, is there a strict reason for the *inc.am naming? Reading through [1]

Missing reference for [1] :)

> gave me
> the necessary background, but is there an inherent issue naming all of the
> Makefiles in subdirectories to Makefile.am, I mean, we'd still end up including
> those, or does that go against some automake rules?

I think the use of the .inc.am extension is intended to make it
obvious that it's a snippet that will be included rather than a
standalone file: as a test, I tried renaming one of the snippets
from .inc.am to .am and I was still able to distcheck.

CC'ing Dan for context, since he's the one who introduced
snippets in the first place.

-- 
Andrea Bolognani / Red Hat / Virtualization




More information about the libvir-list mailing list