let clean () =
Log.finish ();
Shell.rm_rf !Options.build_dir;
if !Options.make_links then begin
let entry =
Slurp.map (fun _ _ _ -> true)
(Slurp.slurp Filename.current_dir_name)
in
Slurp.force (Resource.clean_up_links entry)
end;
raise Exit_silently