From 936930778ccc03ff82cba7da6bd9f93a151c3c32 Mon Sep 17 00:00:00 2001 From: Jason Ish Date: Mon, 15 Apr 2024 10:16:31 -0600 Subject: [PATCH] rust/Makefile: cleanup "clean" targets 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". --- rust/Makefile.am | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/rust/Makefile.am b/rust/Makefile.am index 410dab7609..30e4803b3a 100644 --- a/rust/Makefile.am +++ b/rust/Makefile.am @@ -69,16 +69,10 @@ uninstall-local: 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 && \ -- 2.47.2