automake
[Top][All Lists]
Advanced

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

Re: 17-factored-dependencies.patch


From: akim
Subject: Re: 17-factored-dependencies.patch
Date: Wed, 31 Jan 2001 20:06:56 +0100
User-agent: Mutt/1.3.12i

On Wed, Jan 31, 2001 at 11:22:15AM -0700, Tom Tromey wrote:
> >>>>> "Akim" == Akim Demaille <address@hidden> writes:
> 
> Akim>         * automake.in (%factored_dependencies): New.
> Akim>         (file_contents): Use it.
> Akim>         (handle_phony): Rename as...
> Akim>         (handle_factored_dependencies): this.
> Akim>         * subdirs.am: No need for convolved syntax to declare .PHONY.
> 
> Akim> +# Holds the dependencies of target which dependencies are factored.
> Akim> +# Typically, `.PHONY' will appear in plenty of *.am files, but must
> Akim> +# be output once.  Arguably all pure dependencies could be subject
> Akim> +# to this factorization, but it is not unpleasant to have paragraphs
> Akim> +# in Makefile: keeping related stuff altogether.
> Akim> +%dependencies =
> Akim> +(
> Akim> +    ".PHONY" => []
> Akim> +);
> 
> Shouldn't this processing be done on a per-Makefile basis?
> I think so.  That means this should be initialized in
> &initialize_per_input, not globally.

Definitely!  Thanks, there are important things I have not caught yet.



reply via email to

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