Linux command
sfdk-make-install 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Install
sfdk make-install
Install to a custom destination
sfdk make-install DESTDIR=[path]
Install in parallel
sfdk make-install -j[N]
Install verbosely
sfdk make-install V=1
说明
sfdk make-install runs the `install` target of the underlying build system (typically make, cmake, or qmake-generated Makefiles) inside the Sailfish OS build target. It is a thin wrapper around sfdk make that selects the install target and forwards any additional arguments to the build tool. The command is normally executed after sfdk build or sfdk make as part of the development workflow when staging files for inclusion in an RPM package, or when deploying built artifacts to the build target sysroot for testing.
参数
- DESTDIR=_path_
- Stage installation into _path_ rather than the default sysroot prefix. Standard make/autotools convention.
- -j_N_
- Run up to _N_ install jobs in parallel.
- V=1
- Enable verbose build output.
FAQ
What is the sfdk-make-install command used for?
sfdk make-install runs the `install` target of the underlying build system (typically make, cmake, or qmake-generated Makefiles) inside the Sailfish OS build target. It is a thin wrapper around sfdk make that selects the install target and forwards any additional arguments to the build tool. The command is normally executed after sfdk build or sfdk make as part of the development workflow when staging files for inclusion in an RPM package, or when deploying built artifacts to the build target sysroot for testing.
How do I run a basic sfdk-make-install example?
Run `sfdk make-install` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does DESTDIR=_path_ do in sfdk-make-install?
Stage installation into _path_ rather than the default sysroot prefix. Standard make/autotools convention.