This seems a bit safer:

    make -f debian/rules -rp | egrep -i '^[.a-z0-9_-]*:$'

although it does include "foo:" if there's an "include foo:" even if
there's no rule for "foo".

Reply via email to