chiark / gitweb /
look at Cargo.lock.example for Makefile too
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 27 Nov 2020 23:16:17 +0000 (23:16 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 27 Nov 2020 23:16:17 +0000 (23:16 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Makefile

index 77be99224644545dc10040e2e1ff1f5922a5f4d5..08f50ae1aec3150e90b7b131dd7d0253f0a99680 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -17,7 +17,7 @@ everything: debug doc release check bundled-sources
 
 cr = $(addprefix --,$(filter-out debug,$1))
 rsrcs = $(shell \
-    find $1 \( -name Cargo.toml -o -name Cargo.lock -o -name \*.rs \) )
+    find $1 \( -name Cargo.toml -o -name Cargo.lock -o -name Cargo.lock.example -o -name \*.rs \) )
 stamp=@mkdir -p stamp; touch $@
 
 BUNDLED_SOURCES_LIT = README.md LICENCE