Major improvements, such as a roof, are added as separate additional assets to the rental.
They are then depreciated on their own.
When you sell, you allocate the sales proceeds to all remaining assets.
In TurboTax, go to the rental section
Review your rental summary
Select Edit for the rental property
Scroll down to Assets/Depreciation
Select "Add an Asset"
IRS Pub 527
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"