Ignoring target and work directories