Skip to content

Commit

Permalink
rust/Makefile: cleanup "clean" targets
Browse files Browse the repository at this point in the history
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".
  • Loading branch information
jasonish committed May 27, 2024
1 parent 7897043 commit 9369307
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions rust/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand Down

0 comments on commit 9369307

Please sign in to comment.