From: Richard Jones Date: Thu, 16 Jul 2009 18:29:47 +0000 (+0100) Subject: Fixes for non-srcdir builds: Only include POTFILES from SUBDIRS directories. X-Git-Tag: 1.0.62~6 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=4d321bc8f157dac4bad828287758f92ea5a5173a;p=libguestfs.git Fixes for non-srcdir builds: Only include POTFILES from SUBDIRS directories. --- diff --git a/Makefile.am b/Makefile.am index bd52c52..1f6f62e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -159,10 +159,10 @@ dist-hook: # Update the list of translatable files in po/POTFILES.in. all-local: cd $(srcdir); \ - find -name '*.c' -o -name '*.pl' -o -name '*.pm' | \ - grep -v '/blib/' | \ - grep -v '/capitests/' | \ - grep -v '/examples/' | \ + find $(DIST_SUBDIRS) -name '*.c' -o -name '*.pl' -o -name '*.pm' | \ + grep -v 'perl/blib/' | \ + grep -v 'capitests/' | \ + grep -v 'examples/' | \ grep -v '/guestfs_protocol.c' | \ grep -v '/rc_protocol.c' | \ sort | \