distribution agnostic submake