]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
rust/Makefile: add Cargo.toml as make dependency
authorJason Ish <jason.ish@oisf.net>
Thu, 10 Dec 2020 21:25:31 +0000 (15:25 -0600)
committerJason Ish <jason.ish@oisf.net>
Tue, 16 Feb 2021 17:43:26 +0000 (11:43 -0600)
This will force Cargo.toml to be recreated if Cargo.toml.in
is modified.

rust/Makefile.am

index 9247012656bf4331605a785b06d7ad90494bbc29..f10690a712281990936054fa3d3a23de64f85366 100644 (file)
@@ -31,7 +31,7 @@ if RUST_CROSS_COMPILE
 RUST_TARGET = --target $(host_triplet)
 endif
 
-all-local:
+all-local: Cargo.toml
 if HAVE_CYGPATH
        @rustup_home@ \
                CARGO_HOME="$(CARGO_HOME)" \