bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Eray Ozkural (exa)
Subject: Re: Stems in pattern rules suck! Why not use regexes
Date: Tue, 05 Dec 2000 01:15:16 +0200

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 where I can find a development version. I've been waiting for his comments.

You can take a look at the (very simple) patch in the archives, I suppose
I could write the more general one but since Paul hasn't commented on
it yet I can't proceed. :?

> $(foreach idl_file,$(PUBLIC_IDL),$(PUBLIC_IDL_DIR)/$(idl_file) : 
> $(PUBLIC_IDL_DIR)/$(dir $(idl_file))/% : % \
>         $(INSTALL_READ_ONLY) \
> )

yep, sth like that ;)

Regards,

-- 
Eray (exa) Ozkural
Comp. Sci. Dept., Bilkent University, Ankara
e-mail: address@hidden
www: http://www.cs.bilkent.edu.tr/~erayo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]