Hi,

Alexandre Duret-Lutz <[EMAIL PROTECTED]> 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 ------------------------------ [EMAIL PROTECTED]
"When all else fails, read the instructions."      -- Cahn's Axiom
"Our policy is, when in doubt, do the right thing."   -- Roy L Ash

Reply via email to