Re: Stems in pattern rules suck! Why not use regexes

2000-12-04 Thread exa
On Mon, Dec 04, 2000 at 08:28:40PM -0500, Paul D. Smith wrote: > I did reply to you on Sunday, 12 Nov with a description of the change > I'm working on. If you didn't receive that, let me know and I'll resend > it. There isn't, currently, a development version available. > It seems I haven't r

Re: Stems in pattern rules suck! Why not use regexes

2000-12-04 Thread Paul D. Smith
%% "Eray Ozkural (exa)" <[EMAIL PROTECTED]> writes: eo> I have a patch that does this but Paul said he's been working on a eo> more general version. Unfortunately he didn't tell me (yet) what eo> exactly it is or where I can find a development version. I've been eo> waiting for his commen

Re: Stems in pattern rules suck! Why not use regexes

2000-12-04 Thread Eray Ozkural (exa)
Kirat Singh wrote: > > Another beef I have is why can't I generate rules using a foreach? So > I could also do the above with something like: > I have a patch that does this but Paul said he's been working on a more general version. Unfortunately he didn't tell me (yet) what exactly it is or wh

Stems in pattern rules suck! Why not use regexes

2000-12-04 Thread Kirat Singh
So this has annoyed me forever. Why don't we simply use regexes in pattern rules! I'd like to do something like: $(PUBLIC_IDL_DIR)/.*/([^/]+): \1 $(INSTALL_READONLY) Also why not have a regsub instead of patsub? Is there some reason why regexes are being carefully kept out of make? I