let prod_is_up_to_date p = let x = in_build_dir p in not (exists_in_source_dir p) || Pathname.exists x && Pathname.same_contents x (in_source_dir p)