Investors & landlords

Thanks!  I'm assuming I do the same with the expenses from the sale of the house, allocating them across the house / land / roof based on the percentage of the overall sales price, correct?  Thanks again!