Investors & landlords

So, the only benefit I will realize will be when I sell the house and use the roof replacement it in figuring cost basis, correct?