From: Jason Ish Date: Mon, 15 Apr 2024 16:16:31 +0000 (-0600) Subject: rust/Makefile: cleanup "clean" targets X-Git-Tag: suricata-8.0.0-beta1~1254 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=936930778ccc03ff82cba7da6bd9f93a151c3c32;p=thirdparty%2Fsuricata.git 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". --- 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 && \