let file_target
?depends_on ?make ?metadata ?name ?host ?equivalence ?on_failure_activate
?on_success_activate ?tags path =
let product = file ?host path in
let name = Option.value name ~default:("Make:" ^ path) in
target ~product ?equivalence ?on_failure_activate ?tags ?on_success_activate
~done_when:product#exists ?depends_on ?make ?metadata name