summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHubert Figuière <hub@figuiere.net>2024-01-21 17:22:55 -0500
committerHubert Figuière <hub@figuiere.net>2024-01-21 17:22:55 -0500
commit205635117ae1fdff2ca6e802aaf05542e974d90f (patch)
tree79449e09d94e9312ee92daaa60b2172f2829a6cd
parent93c59a2f74c1d759ffffbf4bee4b62b8ebfe2340 (diff)
dist: make sure vendor doesn't leave a cargo config
Signed-off-by: Hubert Figuière <hub@figuiere.net>
-rw-r--r--Makefile.am3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 7d27d96..ff851c4 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -155,8 +155,7 @@ clean-local:
DISTCLEANFILES = .cargo/config.toml $(CARGO_TARGET_DIR)/.rustc_info.json
dist-hook:
- ($(shell pwd)/$(top_srcdir)/build-aux/cargo-vendor.sh $(shell pwd)/$(top_srcdir)/Cargo.toml)
- cp -av vendor $(distdir)/
+ (cd $(distdir) && $(shell pwd)/$(top_srcdir)/build-aux/cargo-vendor.sh $(shell pwd)/$(top_srcdir)/Cargo.toml)
distclean-local:
rm -fr vendor/*