From df5f3feb1da788f2aca051f543fb6e27841c653a Mon Sep 17 00:00:00 2001 From: Jason Ish Date: Wed, 14 Oct 2026 15:09:23 -0600 Subject: [PATCH] rust/derive: add Makefile for Cargo.toml regeneration To automatically update Cargo.toml when Cargo.toml.in is updated. --- configure.ac | 3 ++- rust/Makefile.am | 3 ++- rust/derive/Makefile.am | 3 +++ 3 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 rust/derive/Makefile.am diff --git a/configure.ac b/configure.ac index ac6fe3d02e..3e6d03c809 100644 --- a/configure.ac +++ b/configure.ac @@ -2565,7 +2565,8 @@ AC_SUBST(RUST_SURICATA_LIBNAME) AM_CONDITIONAL([BUILD_SHARED_LIBRARY], [test "x$enable_shared" = "xyes"] && [test "x$can_build_shared_library" = "xyes"]) -AC_CONFIG_FILES(Makefile src/Makefile rust/Makefile rust/Cargo.lock rust/Cargo.toml rust/derive/Cargo.toml rust/.cargo/config.toml) +AC_CONFIG_FILES(Makefile src/Makefile rust/Makefile rust/Cargo.lock rust/Cargo.toml rust/.cargo/config.toml) +AC_CONFIG_FILES(rust/derive/Makefile rust/derive/Cargo.toml) AC_CONFIG_FILES(rust/sys/Makefile rust/sys/Cargo.toml) AC_CONFIG_FILES(rust/ffi/Makefile rust/ffi/Cargo.toml) AC_CONFIG_FILES(rust/suricatactl/Makefile rust/suricatactl/Cargo.toml) diff --git a/rust/Makefile.am b/rust/Makefile.am index aa069e916e..cbb1a9cb1b 100644 --- a/rust/Makefile.am +++ b/rust/Makefile.am @@ -1,4 +1,5 @@ -SUBDIRS = ffi \ +SUBDIRS = derive \ + ffi \ htp \ sys \ suricatasc \ diff --git a/rust/derive/Makefile.am b/rust/derive/Makefile.am new file mode 100644 index 0000000000..acf00aeb68 --- /dev/null +++ b/rust/derive/Makefile.am @@ -0,0 +1,3 @@ +EXTRA_DIST = Cargo.toml + +all-local: Cargo.toml