Remove maintainer-clean-local, this is not needed.
In distclean-local, remove "rust/dist" and "rust/vendor" as they are
created during "make dist".
In "clean-local", remove "rust/target" and "rust/gen" as they are
created during a normal "make".
rm -f "$(DESTDIR)$(libdir)/$(RUST_SURICATA_LIBNAME)"
clean-local:
- rm -rf target
-if HAVE_CBINDGEN
- rm -rf gen dist
-endif
+ rm -rf target gen
distclean-local:
- rm -f Cargo.lock
-
-maintainer-clean-local:
- rm -rf vendor gen
+ rm -rf vendor dist
check:
cd $(abs_top_srcdir)/rust && \