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: [EMAIL PROTECTED]
www: http://www.cs.bilkent.edu.tr/~erayo

_______________________________________________
Bug-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-make

Reply via email to