aboutsummaryrefslogtreecommitdiff
path: root/src/rust/tor_rust
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-10-27 12:35:13 -0400
committerNick Mathewson <nickm@torproject.org>2017-10-27 12:35:13 -0400
commit3a364529a49257aaa3710499874bde84fb6b0d06 (patch)
tree701e9d6c50415f51c1b297350747fb212061c859 /src/rust/tor_rust
parent3cf863df1c29128aa10533d99c897a06dcac9e0c (diff)
downloadtor-3a364529a49257aaa3710499874bde84fb6b0d06.tar.gz
tor-3a364529a49257aaa3710499874bde84fb6b0d06.zip
Make distcleancheck pass with --enable-rust
Diffstat (limited to 'src/rust/tor_rust')
-rw-r--r--src/rust/tor_rust/include.am7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/rust/tor_rust/include.am b/src/rust/tor_rust/include.am
index 6bfec77fbf..f3b0748baf 100644
--- a/src/rust/tor_rust/include.am
+++ b/src/rust/tor_rust/include.am
@@ -8,4 +8,11 @@ src/rust/target/release/@TOR_RUST_STATIC_NAME@: FORCE
CARGO_HOME="$(abs_top_builddir)/src/rust" \
$(CARGO) build --release --quiet $(CARGO_ONLINE) )
+distclean-rust:
+ ( cd "$(abs_top_srcdir)/src/rust/tor_rust" ; \
+ CARGO_TARGET_DIR="$(abs_top_builddir)/src/rust/target" \
+ CARGO_HOME="$(abs_top_builddir)/src/rust" \
+ $(CARGO) clean --quiet $(CARGO_ONLINE) )
+ rm -rf "$(abs_top_builddir)/src/rust/registry"
+
FORCE: