]> git.ipfire.org Git - thirdparty/suricata.git/commit
rust: always update Cargo.lock.in
authorJason Ish <jason.ish@oisf.net>
Thu, 10 Apr 2025 15:12:35 +0000 (09:12 -0600)
committerVictor Julien <victor@inliniac.net>
Sat, 12 Apr 2025 09:00:03 +0000 (11:00 +0200)
commit0e65cccc09ed2599ae2950f2755923ba169f2ab5
tree5a4ff10191bafe6a311de1009685e8089ef47f23
parentcff611a2848b2890db44ab4e69909ec29f4e134b
rust: always update Cargo.lock.in

On a normal project where the Cargo.lock is checked in, it would be
normal to see an updated Cargo.lock in git status and the like. As we
use autoconf to generate this file, we should just copy it back to the
input file so we get the same convenience of seeing when it is
updated, which usually means it needs to be checked in.

However, to satisfy "make distcheck", only copy it if the input
template exists, if the input template does not exist we are in an out
of tree build.
rust/Makefile.am