diff --git a/Makefile b/Makefile index 1fbdafce..e12427d3 100644 --- a/Makefile +++ b/Makefile @@ -38,6 +38,12 @@ dinstall: autopkgtest build/$* build/*.deb -- null touch $@ +.PHONY: list-packages +list-packages: + @for p in $(CRATES); do \ + echo "librust-$$p-dev"; \ + done + .PHONY: check check: cargo test diff --git a/README.rst b/README.rst index 46d90ef4..c11ac8e9 100644 --- a/README.rst +++ b/README.rst @@ -11,13 +11,23 @@ checksums are not compatible. To reference new dependencies (or updated versions) that are not yet packaged, 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 ================== - Run ./bump.sh [patch|minor|major|] -- Fill out changelog -- Confirm bump commit -- Build packages with `make deb`. +- Build packages with `make -deb`. -- Don't forget to commit updated d/control! Adding Crates