From: Tom Tromey Date: Mon, 18 May 1998 05:33:50 +0000 (+0000) Subject: various fixlets X-Git-Tag: Release-1-3b~25 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=c8cbce098b70f1f188c08415d93a3ce8dda4ccc4;p=automake.git various fixlets --- diff --git a/ChangeLog b/ChangeLog index ff7adf60..9460a6c3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,15 @@ +Sun May 17 23:05:55 1998 Tom Tromey + + * 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 + + * automake.in (handle_yacc_lex_cxx): Put lex and yacc output files + onto @clean. + Wed May 6 01:18:05 1998 Tom Tromey * header-vars.am (DESTDIR): Changed from DISTDIR. diff --git a/THANKS b/THANKS index b2494940..b8f0eb0a 100644 --- 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 cebe98f3..bd6c3f5e 100644 --- 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 diff --git a/aclocal.in b/aclocal.in index a53fb698..85cc49b5 100644 --- a/aclocal.in +++ b/aclocal.in @@ -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. diff --git a/automake.in b/automake.in index 91289aa9..cf9bc812 100755 --- a/automake.in +++ b/automake.in @@ -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'})