Generate target paths for pattern items.