2001-02-21 Tom Tromey <tromey@redhat.com>
+ * automake.in (handle_texinfo): Only remove suffixes we can
+ handle.
+
* tests/distdir.test: Check to make sure directory isn't made in
build directory.
foreach $info_cursor (@texis)
{
- # FIXME: This is mildly hacky, since it recognizes "txinfo".
- # I don't feel like making it right.
- ($infobase = $info_cursor) =~ s/\.te?xi(nfo)?$//;
+ ($infobase = $info_cursor) =~ s/\.(txi|texinfo|texi)$//;
# If 'version.texi' is referenced by input file, then include
# automatic versioning capability.