This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: Automake 1.5 - depcomp not added to DIST_COMMON
- To: <automake-patches at gnu dot org>
- Subject: Re: Automake 1.5 - depcomp not added to DIST_COMMON
- From: Raja R Harinath <harinath at cs dot umn dot edu>
- Date: Sat, 22 Sep 2001 15:37:55 -0500
- Cc: Pavel Roskin <proski at gnu dot org>, <automake at gnu dot org>
- List-Id: Discussion list for automake <automake.gnu.org>
- References: <Pine.LNX.4.33.0108280207020.25589-100000@portland.hansa.lan><mvbofo3kqm3.fsf@phobos.lrde.epita.fr>
Hi,
Alexandre Duret-Lutz <duret_g@lrde.epita.fr> writes:
[snip]
> + $automake_needs_to_reprocess_all_files = 0;
> +
> + # Now do all the work on each file.
> + # This guy must be local otherwise it's private to the loop.
> + use vars '$am_file';
> + local $am_file;
> + foreach $am_file (@input_files)
> {
> - &generate_makefile ($output_files{$am_file}, $am_file);
> + if (! -f ($am_file . '.am'))
> + {
> + &am_error ("`" . $am_file . ".am' does not exist");
> + }
> + else
> + {
> + &generate_makefile ($output_files{$am_file}, $am_file);
> + }
> }
> + ++$automake_has_run;
> }
> +while ($automake_needs_to_reprocess_all_files);
This doesn't look like it'll work with, say
automake --add-missing src/Makefile
This won't add 'depcomp' to DIST_COMMON in the top Makefile.in.
- Hari
--
Raja R Harinath ------------------------------ harinath@cs.umn.edu
"When all else fails, read the instructions." -- Cahn's Axiom
"Our policy is, when in doubt, do the right thing." -- Roy L Ash