]> sourceware.org Git - automake.git/commitdiff
* automake.in (handle_texinfo): Only remove suffixes we can
authorTom Tromey <tromey@redhat.com>
Thu, 22 Feb 2001 02:40:19 +0000 (02:40 +0000)
committerTom Tromey <tromey@redhat.com>
Thu, 22 Feb 2001 02:40:19 +0000 (02:40 +0000)
handle.

ChangeLog
automake.in

index 9355d45420f7c0a6b7abd774323b7050424138b4..e3b84fd72a10658bfb1b0651c23eef6c29b7ae11 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 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.
 
index 6ed2f74ba2799e26b8a915af592d16c17c79daa8..5cf880efeb1748fdb443369528d459179920cf75 100755 (executable)
@@ -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.
This page took 0.04364 seconds and 5 git commands to generate.