Barak A. Pearlmutter Fri, 28 Aug 2020 04:12:29 -0700
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".