diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-10-27 12:35:13 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-10-27 12:35:13 -0400 |
commit | 3a364529a49257aaa3710499874bde84fb6b0d06 (patch) | |
tree | 701e9d6c50415f51c1b297350747fb212061c859 /src/rust/tor_rust | |
parent | 3cf863df1c29128aa10533d99c897a06dcac9e0c (diff) | |
download | tor-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.am | 7 |
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: |