Simon Josefsson wrote: > Eric Blake <ebl...@redhat.com> writes: ... > # Don't use Texinfo @acronym{} as it is not a good idea. > sc_texinfo_acronym: > - @grep -nE '@acronym{' \ > - $$($(VC_LIST_EXCEPT) | grep -E '\.texi$$') && \ > + @if $(VC_LIST_EXCEPT) | grep -lE '\.texi$$' >/dev/null; then \
Hi Simon, I suggest you also check for .txi and .texinfo suffixes, which probably means factoring out the regexps above and below. Hmm... in fact, you could even make the regexp overridable: texinfo_suffix_re_ =? '\.(texi(nfo)?|txi)$$' > + grep -nE '@acronym{' \ > + $$($(VC_LIST_EXCEPT) | grep -E '\.texi$$') && \