automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Automake 1.5 - depcomp not added to DIST_COMMON


From: Raja R Harinath
Subject: Re: Automake 1.5 - depcomp not added to DIST_COMMON
Date: Sat, 22 Sep 2001 15:37:55 -0500
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.0.105

Hi,

Alexandre Duret-Lutz <address@hidden> 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 ------------------------------ address@hidden
"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

[Prev in Thread] Current Thread [Next in Thread]