Skip to content

cargo only install (drop GNU make) #8152

Description

@oech3

At least for Arch Linux, offline build and splitting packaging process is recommended. i.e.

cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')" # Download crates needed for build
cargo build --frozen --release --all-features # offline build
cargo install --no-track --frozen --all-features --root "$pkgdir/usr/" --path . # packaging

However, the step to install everything is provided only by GNU make and manual installation of manpages,etc... needs many steps. I know cargo fetch before make is possible, but difficult to understand it.

Consider supporting to install them by cargo install --all-features.
Consider also dropping support of GNU make since it internally calls cargo too many times already.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions