[libvirt] [PATCH] maint: Make ctags work out of the box

Eric Blake eblake at redhat.com
Wed Jul 17 11:33:00 UTC 2013


On 07/17/2013 05:10 AM, Jiri Denemark wrote:
> The .ctags file specifies default options for ctags so that it does not
> ignore libvirt.h.in and ignores uninteresting files. As a result, you
> can just run "ctags" and navigating to a public API won't get you to a
> useless entry in api.html.
> ---
>  .ctags | 5 +++++
>  1 file changed, 5 insertions(+)
>  create mode 100644 .ctags

ACK - having this file doesn't hurt anyone that doesn't use ctags, and
helps those that do.  Hmm, should this file also be part of EXTRA_DIST?

> 
> diff --git a/.ctags b/.ctags
> new file mode 100644
> index 0000000..75e9753
> --- /dev/null
> +++ b/.ctags
> @@ -0,0 +1,5 @@
> +--recurse
> +--exclude=*.orig
> +--exclude=*.html
> +--exclude=*.html.in
> +--langmap=c:+.h.in
> 

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130717/161950bc/attachment-0001.sig>


More information about the libvir-list mailing list