forked from proxmox-mirrors/proxmox
buildsys: add a 'make list-packages' target
To ease development on new machines, this provides an easy way to just do # apt install $(make list-packages) to get started. Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
d6e86d670b
commit
005678cec2
6
Makefile
6
Makefile
@ -38,6 +38,12 @@ dinstall:
|
|||||||
autopkgtest build/$* build/*.deb -- null
|
autopkgtest build/$* build/*.deb -- null
|
||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
|
.PHONY: list-packages
|
||||||
|
list-packages:
|
||||||
|
@for p in $(CRATES); do \
|
||||||
|
echo "librust-$$p-dev"; \
|
||||||
|
done
|
||||||
|
|
||||||
.PHONY: check
|
.PHONY: check
|
||||||
check:
|
check:
|
||||||
cargo test
|
cargo test
|
||||||
|
12
README.rst
12
README.rst
@ -11,13 +11,23 @@ checksums are not compatible.
|
|||||||
To reference new dependencies (or updated versions) that are not yet packaged,
|
To reference new dependencies (or updated versions) that are not yet packaged,
|
||||||
the dependency needs to point directly to a path or git source.
|
the dependency needs to point directly to a path or git source.
|
||||||
|
|
||||||
|
Quickly installing all packages from apt
|
||||||
|
========================================
|
||||||
|
|
||||||
|
To a void too many manual installations when ``mk-build-deps`` etc. fail, a
|
||||||
|
quick way to install all the main packages of this workspace is to run:
|
||||||
|
|
||||||
|
::
|
||||||
|
|
||||||
|
# apt install $(make list-packages)
|
||||||
|
|
||||||
Steps for Releases
|
Steps for Releases
|
||||||
==================
|
==================
|
||||||
|
|
||||||
- Run ./bump.sh <CRATE> [patch|minor|major|<VERSION>]
|
- Run ./bump.sh <CRATE> [patch|minor|major|<VERSION>]
|
||||||
-- Fill out changelog
|
-- Fill out changelog
|
||||||
-- Confirm bump commit
|
-- Confirm bump commit
|
||||||
- Build packages with `make deb`.
|
- Build packages with `make <crate>-deb`.
|
||||||
-- Don't forget to commit updated d/control!
|
-- Don't forget to commit updated d/control!
|
||||||
|
|
||||||
Adding Crates
|
Adding Crates
|
||||||
|
Loading…
Reference in New Issue
Block a user