diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2020-10-14 12:40:57 +0200 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2020-10-14 15:31:01 +0200 |
commit | ea77642fe43c87b110f225b2d0b439d85d848658 (patch) | |
tree | 156d198af13e47be4436aa25f34f0807a1d5238c /Makefile | |
parent | c996fd19ac68555eb66cf92f7fa2321a2df596dc (diff) |
Adapt to the removal of the top-level Sequoia crate.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -15,7 +15,7 @@ CARGO_PACKAGES ?= --all # Additional arguments to pass to cargo test, e.g., "--doc". CARGO_TEST_ARGS ?= # Version as stated in the top-level Cargo.toml. -VERSION ?= $(shell grep '^version[[:space:]]*=[[:space:]]*' Cargo.toml\ +VERSION ?= $(shell grep '^version[[:space:]]*=[[:space:]]*' openpgp/Cargo.toml\ | cut -d'"' -f2) # Signing source distributions. @@ -158,7 +158,7 @@ clean: sanity-check-versions: set -e ; V=$(VERSION) ; VV=$(shell echo $(VERSION) | cut -d. -f1-2) ;\ bad() { echo "bad $$*." ; exit 1 ; } ;\ - find . -name Cargo.toml | while read TOML ; do \ + for TOML in */Cargo.toml ; do \ echo -n "$$TOML " ;\ grep '^version *=' $$TOML | grep -q $$V || bad version ;\ grep '^documentation *=' $$TOML \ |