- find -name '*.c' -o -name '*.pl' -o -name '*.pm' | \
- grep -v '/blib/' | \
- grep -v '/capitests/' | \
- grep -v '/examples/' | \
- sort | \
+ find $(DIST_SUBDIRS) \
+ -name '*.c' -o -name '*.pl' -o -name '*.pm' | \
+ grep -v '^perl/blib/' | \
+ grep -v '^capitests/' | \
+ grep -v '^daemon/lib/' | \
+ grep -v '^daemon/tests/' | \
+ grep -v '^examples/' | \
+ grep -v '^gnulib/' | \
+ grep -v '^perl/examples/' | \
+ grep -v '/guestfs_protocol.c' | \
+ grep -v '/rc_protocol.c' | \
+ grep -v 'appliance/debian/root' | \
+ LC_ALL=C sort | \