]> sourceware.org Git - automake.git/commitdiff
* automake.in (lang_yacc_finish): Always use `.h' as suffix for
authorTom Tromey <tromey@redhat.com>
Fri, 26 Mar 1999 22:44:27 +0000 (22:44 +0000)
committerTom Tromey <tromey@redhat.com>
Fri, 26 Mar 1999 22:44:27 +0000 (22:44 +0000)
yacc header file.  From Ralf Corsepius.

ChangeLog
automake.in

index 8c1d934bf964bf2815f81b93ec528431f3cd721a..21f4b3ddbb90fe26a6fbaa055c45f28cd6e391e4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 1999-03-26  Tom Tromey  <tromey@cygnus.com>
 
+       * automake.in (lang_yacc_finish): Always use `.h' as suffix for
+       yacc header file.  From Ralf Corsepius.
+
        * Makefile.in: Rebuilt.
        * Makefile.am: Updated to reflect removal of TAR subst.
        * automake.texi (Options): Document dist-bzip2.
index e6eac19e1045047ca30c76b502510716f1fcdf11..5ad7dbeaec731a01fd9744eb0c1403c27def611d 100755 (executable)
@@ -4679,7 +4679,7 @@ sub lang_yacc_finish
        # no way to determine that.  FIXME: examine AM_YFLAGS?
        $file =~ /^(.*)\.(y|yy|y\+\+|yxx|ypp)$/;
        $base = $1;
-       ($hname = $2) =~ tr/y/h/;
+       $hname = '.h';          # Always use `.h' for header file.
        ($cname = $2) =~ tr/y/c/;
        $output_rules .= "${base}.${hname}: ${base}.${cname}\n";
 
This page took 0.043577 seconds and 5 git commands to generate.