I am building a snap package for my project, I have a library which I want to only compile. ie only /configure && make
not : /configure && make && make install
As I had searched for the doc for it in Ubuntu snap, I found : https://snapcraft.io/docs/reference/plugins/autotools
Also searched here : https://github.com/search?o=desc&q=filename%3Asnapcraft.yaml+%22plugin%3A+autotools%22+&s=indexed&type=Code&utf8=%E2%9C%93
But I couldn't find anything to skip the make install
part. Can anyone suggest me how to do that ? A dirty way might be after the make install
, I will add one shell script to recursively delete the make install
generated files and then proceed further to application code compilation. But I think there should be a happy path of doing this nicely.
So please let me know if there is any way to skip this make install
when I run snapcraft
to build snap package.