mesonbuild / meson

The Meson Build System

Home Page:http://mesonbuild.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature Request]: 'program-transform-name' equivalent

Kangie opened this issue · comments

Autotools provides the following options:

--program-prefix=prefix
    Prepend prefix to installed program names. 

--program-suffix=suffix
    Append suffix to installed program names. 

--program-transform-name=program
    Run sed program on installed program names. 

These enable administrators and/or packagers to rename binaries that would otherwise collide and are able to coexist on the same system, e.g.:

  • Solaris prefixing GNU utilities with 'g': gsed, gtar, ggrep
  • Enabling multiple versions of fvwm{,2,3} to coexist

It would be helpful if a similar mechanism was provided in Meson, as this topic has come up as a 'must-have' feature during discussions of porting some autotools-based projects to use Meson.