From: Richard Jones Date: Thu, 25 Mar 2010 12:02:42 +0000 (+0000) Subject: Fix generation of po/POTFILES.in. X-Git-Tag: 1.2.1~13 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=97c3cd728eaa608ceb9c0f2db20a002b6dcccf02;p=hivex.git Fix generation of po/POTFILES.in. Contains some obsolete code copied in from libguestfs, and we need to exclude Perl 'blib' files. --- 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