Hi Ananthu, On 2024-12-08 17:58:09, weepingclown wrote:
d/clean would work just as well, that's exactly what I tend to use if I have more than a few files that I have to specify manually to be cleaned.
I always feel undecided which option I should give preference to.
And personally, I'd recommend to use execute_after_dh_auto_clean than override_dh_auto_clean so that it doesn't override anything it was previously doing, just in case.
As long as the override_dh_auto_clean target still contains dh_auto_clean the original functionality should be retained. At least this is my understanding. Please correct me if this is wrong. But you are perfectly right that using execute_after_dh_auto_clean is less error-prone. Thanks for this suggestion. I added it to my notes. :-)
Best regards Peter