The make plugin
make plugin is useful when building make-based parts.
Make-based projects will typically include a Makefile that drives the build.
This plugin runs ‘make’ followed by ‘make install’, except when the
artifacts keyword is used.
This plugin uses the common plugin keywords as well as those for “sources”. For more information, see Snapcraft parts metadata.
Additionally, this plugin uses the following plugin-specific keywords:
Link/copy the given files from the make output to the snap installation directory. If specified, the
make installstep will be skipped.
Use the given file as the makefile.
make-parameters(list of strings)
Pass the given parameters to the make command.
make-install-var(string; default: DESTDIR)
Use this variable to redirect the installation into the snap.
For examples, search GitHub for projects already using the plugin.
Last updated 3 months ago. Help improve this document in the forum.