This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: 17-factored-dependencies.patch
- To: Akim Demaille <akim at epita dot fr>
- Subject: Re: 17-factored-dependencies.patch
- From: Tom Tromey <tromey at redhat dot com>
- Date: 31 Jan 2001 11:22:15 -0700
- Cc: Automake <automake at gnu dot org>
- List-Id: Discussion list for automake <automake.gnu.org><mailto:automake-request@gnu.org?subject=unsubscribe>
- References: <E14NmSY-0005dj-00@nostromo.lrde.epita.fr>
- Reply-To: tromey at redhat dot com
>>>>> "Akim" == Akim Demaille <akim@epita.fr> 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.
Tom