This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Automake 1.5 - depcomp not added to DIST_COMMON


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]