Richard W.M. Jones
2009-Sep-09 11:04 UTC
[Libguestfs] [PATCH] Don't include gnulib files in POTFILES.in.
-- Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into Xen guests. http://et.redhat.com/~rjones/virt-p2v -------------- next part -------------->From a2f7faeeca9109e18ea8b90d5326d63c055e899b Mon Sep 17 00:00:00 2001From: 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/' | \ grep -v '/guestfs_protocol.c' | \ grep -v '/rc_protocol.c' | \ LC_ALL=C sort | \ -- 1.6.2.5
Jim Meyering
2009-Sep-09 11:27 UTC
[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 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.
Reasonably Related Threads
- [PATCH] perl: Guestfs.c file is not translatable, don't include it in po/POTFILES.
- [PATCH 0/14] hivex: update gnulib and make "syntax-check" tests pass
- [PATCH libguestfs] build: tell gnulib-tool that this is an lgplv2+ library
- [PATCH] daemon/Win32: Use gnulib modules for first porting to Win32.
- [PATCH] daemon/Win32: Use Gnulib perror module.