On Wed, 2008-10-22 at 09:00 -0500, Peng Yu wrote: > > SUBDIRS := $(filter-out backup bash,$(patsubst %/.,%,$(wildcard */.))) > > This would give something other than directories. Is there a way in > make to get only directory names?
No it wouldn't. Did you try it? Hint: I'm using */., not *; the former will match only directories (obviously files can't have a /. at the end). -- ------------------------------------------------------------------------------- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org http://make.mad-scientist.us "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
