I am using cmake during my job to create Debian installation packages for different kind of software projects. Today I run into an issue. I needed to run some post installation steps. I know that this is quite easy possible within a deb file, but how to archive the same with cmake?
It turned out to be quite easy:
Where postinst is the script which gets executed after the deb got installed.