Greetings folks,
this is a quick personal remind note on how to specify an installation directory with the Mason build system, as the regular reader would recall I use Stow to install applications compiled from source to avoid tangling the path under /usr/local
.
So, the incantation to use at configuration time is --prefix=/installation/path
and that should be enough to specify the destination path of binaries and other assets at installation time.
The contest, for the curious reader, I was in need of an utility to control my Android phone using a PC's keyboard — and mouse — so the scrcpy's description fitted the bill. I'm pretty sure this was the first time that I stumbled on this build system.
So to make a long story short, it uses Mason and when compiling from sources the default installation is under /usr/local
, but I wanted to install it under /usr/local/stow/scrcpy
.
That's all.