[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



Richard W.M. Jones wrote:
>>From a2f7faeeca9109e18ea8b90d5326d63c055e899b Mon Sep 17 00:00:00 2001
> From: Richard Jones <rjones 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.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]