cargo only install (drop GNU make)
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 24.1k
- Forks
- 2k
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 365
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting the existing GNU make installation path and the cargo commands used for packaging. Compare the requested cargo install --all-features flow with the current installation of binaries and manpages; done means the documented packaging process works without GNU make and covers those installed artifacts.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- build-system, release
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100