* Makefile.am (update-copyright): Do not update copyright years of
files synced from external packages, as given by the '$(FETCHFILES)'
variable. Silence the recipe since we are at it.
.PHONY: update-copyright
update-copyright:
- git ls-files | grep -Ev 'COPYING|INSTALL' \
+ $(AM_V_GEN)excluded_re=`echo $(FETCHFILES) \
+ | sed -e 's|^|lib/|' -e 's| | lib/|g' -e 's, ,|,g'`; \
+ $(GIT) ls-files \
+ | grep -Ev '/(COPYING|INSTALL)' \
+ | grep -Ev "^($$excluded_re)$$" \
| $(update_copyright_env) xargs $(srcdir)/lib/$@