%% [EMAIL PROTECTED] writes: d> What should I do to expand the % in the wildcard function?
You can't. d> xsl/alldocs_%.xsl: genalldocs.php $(wildcard $(DOCS)/%/*.xml) Functions and variables in target and prerequisite lists are expanded when the makefile is read in. That's when the $(wildcard ...) function is expanded; the wildcard is seeing the literal "%" character here. Pattern replacement doesn't happen until later when make is trying to find an implicit rule to build the target. -- ------------------------------------------------------------------------------- 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://mail.gnu.org/mailman/listinfo/help-make
