mmstick / cargo-deb

A cargo subcommand that generates Debian packages from information in Cargo.toml
615 stars 50 forks source link

How to change installation prefix from /usr/? #156

Open tats-u opened 3 years ago

tats-u commented 3 years ago

I suppose that software that does not packaged by Linux distributors should not be installed in /usr/{bin,share,etc.} but /usr/local/*. I wish that it could choose not only /usr but also /usr/local or /opt/[name] as the installation prefix. FYI: Installation using CMake or Autotools supports this by the variable CMAKE_INSTALL_PREFIX or the option --prefix.