My build "superbuilds" other projects, all of which may change at any time. It is far too tedious to manually create the postrm script every time we want to build...
Is there a way to generate the postrm script when building a Debian package with CMake/CPack?