mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
Fixes for non-srcdir builds: Only include POTFILES from SUBDIRS directories.
This commit is contained in:
@@ -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 | \
|
||||
|
||||
Reference in New Issue
Block a user