* automake.in (scan_texinfo_file): Fix matching file extension. * tests/txinfo31.test: New test. * tests/Makefile.am: Update.