[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: I: adjust test suite for upcoming GNU Make 3.83
From: |
Alexandre Duret-Lutz |
Subject: |
Re: I: adjust test suite for upcoming GNU Make 3.83 |
Date: |
Sat, 02 Jul 2005 00:24:27 +0200 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) |
>>> "pds" == Paul D Smith <address@hidden> writes:
pds> FYI, here's one way to handle it (obviously requires GNU make):
pds> ifeq (,$(filter second-expansion,$(.FEATURES)))
pds> # GNU make <3.81
pds> PRE_D := $$
pds> else
pds> # GNU make >=3.81
pds> PRE_D := $$$$
pds> endif
pds> # Now use PRE_D in prerequisites
pds> all: foo$(PRE_D)bar ; @echo '$@: $<'
pds> foo$$bar: ; @echo 'building $@'
The user lists filenames in variables, and Automake uses these
variables in both prerequisite lists or commands. For instance
see $(dist_my_DATA) in the last excerpt of
http://lists.gnu.org/archive/html/automake/2005-03/msg00067.html
So any solution that require a syntax that is different in
prerequisites than it is in the commands seems wrong to me.
Besides such a variable might as well defined from configure via
a substitution, so Automake cannot do any preprocessing on its
contents.
--
Alexandre Duret-Lutz
- Re: I: adjust test suite for upcoming GNU Make 3.83, Paul D. Smith, 2005/07/01
- Re: I: adjust test suite for upcoming GNU Make 3.83, Paul D. Smith, 2005/07/01
- Re: I: adjust test suite for upcoming GNU Make 3.83,
Alexandre Duret-Lutz <=
- Re: I: adjust test suite for upcoming GNU Make 3.83, psmith, 2005/07/05
- Re: I: adjust test suite for upcoming GNU Make 3.83, Stepan Kasal, 2005/07/05
- Re: I: adjust test suite for upcoming GNU Make 3.83, psmith, 2005/07/05
- Re: I: adjust test suite for upcoming GNU Make 3.83, Stepan Kasal, 2005/07/07
- Re: I: adjust test suite for upcoming GNU Make 3.83, Jirka Hanika, 2005/07/10
- Re: I: adjust test suite for upcoming GNU Make 3.83, Alexandre Duret-Lutz, 2005/07/10
- Re: I: adjust test suite for upcoming GNU Make 3.83, Paul D. Smith, 2005/07/10
- Re: I: adjust test suite for upcoming GNU Make 3.83, Stepan Kasal, 2005/07/10
Re: I: adjust test suite for upcoming GNU Make 3.83, Alexandre Duret-Lutz, 2005/07/01