From 97c3cd728eaa608ceb9c0f2db20a002b6dcccf02 Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Thu, 25 Mar 2010 12:02:42 +0000 Subject: [PATCH] Fix generation of po/POTFILES.in. Contains some obsolete code copied in from libguestfs, and we need to exclude Perl 'blib' files. --- Makefile.am | 10 ++-------- po/POTFILES.in | 1 - 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/Makefile.am b/Makefile.am index 735b844..1a34e15 100644 --- a/Makefile.am +++ b/Makefile.am @@ -43,15 +43,9 @@ dist-hook: all-local: cd $(srcdir); \ find $(DIST_SUBDIRS) \ - -name '*.c' -o -name '*.pl' -o -name '*.pm' -o \ - -name 'virt-cat' -o \ - -name 'virt-df' -o \ - -name 'virt-edit' -o \ - -name 'virt-inspector' -o \ - -name 'virt-ls' -o \ - -name 'virt-rescue' -o \ - -name 'virt-tar' | \ + -name '*.c' -o -name '*.pl' -o -name '*.pm' | \ grep -v '^gnulib/' | \ + grep -v 'perl/blib/' | \ LC_ALL=C sort | \ sed 's,^\./,,' > po/POTFILES.in diff --git a/po/POTFILES.in b/po/POTFILES.in index 9ac55b4..f806581 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -2,7 +2,6 @@ images/mklarge.c lib/hivex.c ocaml/hivex_c.c perl/Hivex.c -perl/blib/lib/Win/Hivex.pm perl/lib/Win/Hivex.pm sh/hivexsh.c xml/hivexml.c -- 1.8.3.1