From: Victor Julien Date: Mon, 29 Jan 2018 13:16:01 +0000 (+0100) Subject: rust: don't gen C headers if Rust isn't enabled X-Git-Tag: suricata-4.0.4~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2ba14a98b05347a850920e117dea946b2b40f81;p=thirdparty%2Fsuricata.git rust: don't gen C headers if Rust isn't enabled --- diff --git a/rust/Makefile.am b/rust/Makefile.am index 52ec5a2602..219bf80d82 100644 --- a/rust/Makefile.am +++ b/rust/Makefile.am @@ -62,12 +62,6 @@ else vendor: endif -else # HAVE_RUST - -all-local clean-local check vendor: - -endif # HAVE_RUST - # Can only include the headers if we have Python to generate them. if HAVE_PYTHON EXTRA_DIST += gen/c-headers @@ -76,3 +70,8 @@ gen/c-headers: else gen/c-headers: endif +else # HAVE_RUST + +all-local clean-local check vendor gen/c-headers: + +endif # HAVE_RUST