various fixlets
authorTom Tromey <tromey@redhat.com>
Mon, 18 May 1998 05:33:56 +0000 (05:33 +0000)
committerTom Tromey <tromey@redhat.com>
Mon, 18 May 1998 05:33:56 +0000 (05:33 +0000)
ChangeLog
THANKS
TODO
aclocal.in
automake.in

index ff7adf6..9460a6c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+Sun May 17 23:05:55 1998  Tom Tromey  <tromey@cygnus.com>
+
+       * aclocal.in (write_aclocal): Fixed generated copyright message.
+       From Eleftherios Gkioulekas.
+
+       * automake.in (parse_arguments): Typo fix from Paul D. Smith.
+
+Fri May  8 12:14:03 1998  Tom Tromey  <tromey@cygnus.com>
+
+       * automake.in (handle_yacc_lex_cxx): Put lex and yacc output files
+       onto @clean.
+
 Wed May  6 01:18:05 1998  Tom Tromey  <tromey@cygnus.com>
 
        * header-vars.am (DESTDIR): Changed from DISTDIR.
diff --git a/THANKS b/THANKS
index b249494..b8f0eb0 100644 (file)
--- a/THANKS
+++ b/THANKS
@@ -15,6 +15,7 @@ David A. Swierczek    swiercze@mr.med.ge.com
 David Zaroski          cz253@cleveland.Freenet.Edu
 Dieter Baron           dillo@stieltjes.smc.univie.ac.at
 Doug Evans             devans@cygnus.com
+Eleftherios Gkioulekas lf@amath.washington.edu
 Erick Branderhorst     branderh@iaehv.nl
 François Pinard                pinard@iro.umontreal.ca
 Fred Fish              fnf@ninemoons.com
diff --git a/TODO b/TODO
index cebe98f..bd6c3f5 100644 (file)
--- a/TODO
+++ b/TODO
@@ -25,6 +25,9 @@
 * Every program foo has FOOFLAGS right now.
   It should also have AM_FOOFLAGS, which can be set in Makefile.am.
 
+* Should have a --copy like libtoolize
+  Should be able to update files that would be installed with -a
+
 * when cleaning, should recurse depth first
 
 * quoting bugs
index a53fb69..85cc49b 100644 (file)
@@ -407,7 +407,7 @@ sub write_aclocal
     print ACLOCAL "dnl $output_file generated automatically by aclocal $VERSION\n";
     print ACLOCAL "\
 dnl Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
-dnl This Makefile.in is free software; the Free Software Foundation
+dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
 
index 91289aa..cf9bc81 100755 (executable)
@@ -409,7 +409,7 @@ sub parse_arguments
        }
        elsif ($arglist[0] eq '--generate-deps')
        {
-           $generate_deps = $1;
+           $generate_deps = 1;
        }
        elsif ($arglist[0] eq '--no-force')
        {
@@ -886,6 +886,11 @@ sub handle_yacc_lex_cxx
            ($hname = $2) =~ tr/y/h/;
            ($cname = $2) =~ tr/y/c/;
            $output_rules .= "${base}.${hname}: ${base}.${cname}\n";
+
+           # If the files are built in the build directory, then we
+           # want to remove them with `make clean'.  If they are in
+           # srcdir they shouldn't be touched.
+           push (@clean, $base . $hname, $base . $cname);
        }
        $output_rules .= "\n";
 
@@ -902,12 +907,20 @@ sub handle_yacc_lex_cxx
     if ($lex_count)
     {
        local (%seen_suffix) = ();
-       foreach (keys %lex_sources)
+       local ($file, $cname);
+       foreach $file (keys %lex_sources)
        {
-           /(\..*)$/;
+           $file =~ /(\..*)$/;
            &output_lex_build_rule ($1, $lex_count > 1)
                if (! defined $seen_suffix{$1});
            $seen_suffix{$1} = 1;
+
+           # If the files are built in the build directory, then we
+           # want to remove them with `make clean'.  If they are in
+           # srcdir they shouldn't be touched.
+           $file =~ /^(.*)\.(l|ll|l\+\+|lxx)$/;
+           ($cname = $2) =~ tr/y/c/;
+           push (@clean, $1 . $cname);
        }
 
        if (! defined $configure_vars{'LEX'})