%% "Robert P. J. Day" <[EMAIL PROTECTED]> writes: rpjd> apparently, a pattern with more than one '%' is not acceptable, rpjd> but you don't find out about this until you actually try to use rpjd> it in a rule. wouldn't it make more sense to immediately flag rpjd> that vpath directive as being invalid?
I'm not sure what you mean by "not acceptable"; it definitely is acceptable. However, the second and subsequent % characters aren't treated as patterns, they're just treated as plain "%" characters. So, they are acceptable and they aren't invalid, and so no error can be generated. I agree that this is not the most transparent way for this to behave, but that's the way it's always been and every time I think about changing it a number of people write in to tell me they have makefiles that rely on this behavior. -- ------------------------------------------------------------------------------- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org http://make.paulandlesley.org "Please remain calm...I may be mad, but I am a professional." --Mad Scientist _______________________________________________ Help-make mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/help-make
