On Aug 22, 2007, at 1:41 PM, Benoit SIGOURE wrote:
I think the line should be:$(SED) -e 's,$${LOCALSTATEDIR},${localstatedir},g' $(top_srcdir)/ conf/project.conf.in >$@
As noted by Bernd Jendrissek, there should be a backslash in there:sed -e 's,\$${LOCALSTATEDIR},${localstatedir},g' $(top_srcdir)/conf/ project.conf.in >$@
So that sed doesn't recognize `$' as `end of line'. I didn't notice this because neither BSD sed nor GNU sed seem to consider `$' as `end of line' if it's not actually at the end of the pattern.
Cheers, -- Benoit Sigoure aka Tsuna EPITA Research and Development Laboratory
PGP.sig
Description: This is a digitally signed message part