In message <[EMAIL PROTECTED]> Chet Ramey writes:
: The idiomatic solution for this sort of thing is changing
: your makefile recipes from
: 
:       for f in ${SUBDIRS} do ...
: 
: to
: 
:       sh_subdirs=${SUBDIRS}; for f in $$sh_subdirs ; do ...

That's much better than what I've tended to do:
        for f in x ${FOO}; do
                if [  $f != x ]; then
                fi
        done

there's lots of other workarounds, from seeing if SUBDIRS is defined,
to using make's .foreach.

Warner


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to