[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SECONDEXPANSION and $(shell) bug in make 3.82.90
From: |
Martin d'Anjou |
Subject: |
SECONDEXPANSION and $(shell) bug in make 3.82.90 |
Date: |
Thu, 12 Apr 2012 16:01:01 -0400 |
Hi,
I try to use GNU Make at the CVS head because of the memory leak in 3.82
(see http://lists.gnu.org/archive/html/help-make/2011-11/msg00080.html).
After much work to get the CVS head to compile on redhat 5.5 (had to do a
local install of gettext and misc toolchain stuff), I run into a problem
with the SECONDEXPANSION and $(shell):
Here is the makefile:
.SECONDEXPANSION:
all: $$(shell find . \( -name "*.swp" \))
echo $<
Here is the result:
$ make
/bin/sh: -c: line 0: syntax error near unexpected token `('
/bin/sh: -c: line 0: `find . ( -name "*.swp" )'
echo
Here is the version:
$ make --version
GNU Make 3.82.90
There is no issue running this with make 3.81:
$ make
echo .makefile.swp
.makefile.swp
$ make --version
GNU Make 3.81
What should I do? I want 3.82 because of the ONESHELL feature.
Thanks,
Martin
- SECONDEXPANSION and $(shell) bug in make 3.82.90,
Martin d'Anjou <=