minor, binding source generation to package phase