From 4d321bc8f157dac4bad828287758f92ea5a5173a Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Thu, 16 Jul 2009 19:29:47 +0100 Subject: [PATCH] Fixes for non-srcdir builds: Only include POTFILES from SUBDIRS directories. --- Makefile.am | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 | \ -- 1.8.3.1