summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2020-10-14 12:40:57 +0200
committerJustus Winter <justus@sequoia-pgp.org>2020-10-14 15:31:01 +0200
commitea77642fe43c87b110f225b2d0b439d85d848658 (patch)
tree156d198af13e47be4436aa25f34f0807a1d5238c
parentc996fd19ac68555eb66cf92f7fa2321a2df596dc (diff)
Adapt to the removal of the top-level Sequoia crate.
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 3ea4b6e8..826a92c5 100644
--- a/Makefile
+++ b/Makefile
@@ -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 \