From 2645226d57e09205092a9b458da2d45ceadcf89a Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Thu, 22 Feb 2001 02:40:19 +0000 Subject: [PATCH] * automake.in (handle_texinfo): Only remove suffixes we can handle. --- ChangeLog | 3 +++ automake.in | 4 +--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9355d454..e3b84fd7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2001-02-21 Tom Tromey + * automake.in (handle_texinfo): Only remove suffixes we can + handle. + * tests/distdir.test: Check to make sure directory isn't made in build directory. diff --git a/automake.in b/automake.in index 6ed2f74b..5cf880ef 100755 --- a/automake.in +++ b/automake.in @@ -2303,9 +2303,7 @@ sub handle_texinfo 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. -- 2.43.5