I guess dh_translations was written by Martin long before dh(1) came in, and that's why it had its own euristic to determine the current build system. This has never been revisited because the maintainance on this package is low.
I agree though that it should have both systems:
- one for dh(1) packages, using that parameters
- then, the fallback for debhelper < 9 packages, cbds and so on. I'm unsure we still have some in main using those, but that's to be checked.
Unfortunately, I don't see that analyze and changes coming as an official item to work on this cycle in the desktop team in the current queue.
I guess dh_translations was written by Martin long before dh(1) came in, and that's why it had its own euristic to determine the current build system. This has never been revisited because the maintainance on this package is low.
I agree though that it should have both systems:
- one for dh(1) packages, using that parameters
- then, the fallback for debhelper < 9 packages, cbds and so on. I'm unsure we still have some in main using those, but that's to be checked.
Unfortunately, I don't see that analyze and changes coming as an official item to work on this cycle in the desktop team in the current queue.