> Another solution could be a debian/not-installed file, if you prefer to > not override dh_auto_install like the above.
That file is actually only to allowlist files that are built, but not included in the package. Normally in modern Debhelper builds the packages fail on file mismatches if there are build artifacts that are not listed in the package *.install files. This file cannot be used to prevent files from being generated or included. Anyway, thanks for the review, all testing I did also passed so I will proceed to upload now.