[Top][All Lists]

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

Re: 17-factored-dependencies.patch

From: Tom Tromey
Subject: Re: 17-factored-dependencies.patch
Date: 31 Jan 2001 11:22:15 -0700

>>>>> "Akim" == Akim Demaille <address@hidden> writes:

Akim>   * (%factored_dependencies): New.
Akim>   (file_contents): Use it.
Akim>   (handle_phony): Rename as...
Akim>   (handle_factored_dependencies): this.
Akim>   * 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.


reply via email to

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