[Libguestfs] [PATCH] Don't include gnulib files in POTFILES.in.

Jim Meyering jim at meyering.net
Wed Sep 9 11:27:33 UTC 2009


Richard W.M. Jones wrote:
>>From a2f7faeeca9109e18ea8b90d5326d63c055e899b Mon Sep 17 00:00:00 2001
> From: Richard Jones <rjones at trick.home.annexia.org>
> Date: Wed, 9 Sep 2009 12:01:42 +0100
> Subject: [PATCH 1/2] Don't include gnulib files in POTFILES.in.
>
> ---
>  Makefile.am |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/Makefile.am b/Makefile.am
> index bbf23d9..204c627 100644
> --- a/Makefile.am
> +++ b/Makefile.am
> @@ -159,6 +159,7 @@ all-local:
>  	grep -v 'daemon/lib/' | \
>  	grep -v 'daemon/tests/' | \
>  	grep -v 'examples/' | \
> +	grep -v 'gnulib/' | \

Looks fine.
Though, just to be safe, I'd prepend '^'.
Otherwise, something like src/non-gnulib/anything.c
would be silently excluded.




More information about the Libguestfs mailing list