rust: Wire up make clean so it runs cargo clean

Before this commit, after make clean:

$ du -sh rust
641M	rust

After:

776K	rust
This commit is contained in:
Richard W.M. Jones
2021-10-20 17:54:25 +01:00
parent 305b02e7e7
commit 1834f19d20

View File

@@ -35,6 +35,9 @@ if HAVE_RUST
all: $(srcdir)/src/lib.rs
$(top_builddir)/run $(CARGO) build --release
clean-local:
$(top_builddir)/run $(CARGO) clean
TESTS = run-bindtests run-tests
CLEANFILES += target/*~